Untitled


SUBMITTED BY: Guest

DATE: Nov. 13, 2013, 9:12 a.m.

FORMAT: Text only

SIZE: 505 Bytes

HITS: 3151

  1. $profilo->getSeguaci()->filter(function($entry) {
  2. var_dump($entry->getSeguito()->getUtente()->getLocked() !== 1);
  3. });
  4. var_dump($profilo->getSeguaci());
  5. /**
  6. * Get seguaci
  7. *
  8. * @return DoctrineCommonCollectionsCollection
  9. */
  10. public function getSeguaci() {
  11. $this->seguaci->filter(function($entry) {
  12. return $entry->getSeguito()->getUtente()->getLocked() !== 0;
  13. });
  14. return $this->seguaci;
  15. }

comments powered by Disqus