GraphAware\Neo4j\OGM\Tests\Integration\UseCase\Github\Model\GithubRepository::__construct PHP Method

__construct() public method

public __construct ( $name, GithubUser $owner = null )
$owner GithubUser
    public function __construct($name, GithubUser $owner = null)
    {
        $this->name = $name;
        if (null !== $owner) {
            $this->owner = $owner;
        }
        $this->writtenLanguages = new Collection();
    }