GraphAware\Neo4j\OGM\Tests\Integration\Model\User::__construct PHP Метод

__construct() публичный Метод

public __construct ( $login, $age = null )
    public function __construct($login, $age = null)
    {
        $this->login = $login;
        $this->age = $age;
        $this->friends = new ArrayCollection();
        $this->loves = new ArrayCollection();
        $this->lovedBy = new ArrayCollection();
        $this->contributions = new Collection();
        $this->roles = new ArrayCollection();
    }