Lines Matching refs:friends
132 For example if you have a User that has a manager and friends::
144 private $friends;
146 public function __construct($name, User $manager = null, array $friends = null)
150 $this->friends = $friends;
184 'friends_group', // Serialize John's friends
188 …'friends_group', // Serialize John manager's friends. If you do not override the groups for the fr…
191 'friends' => array( // Override the groups for the friends of John
192 'manager_group', // Serialize John friends' managers.
193 'manager' => array( // Override the groups for the John friends' manager
206 "friends": [
212 "friends": [
243 private $friends;
256 In this example, serializing a user, because the max depth of the ``$friends``
257 property is 1, the user friends would be serialized, but not their friends;