GraphAware\Neo4j\OGM\Tests\Integration\Model\BothTest::hasOtherWithName PHP Метод

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

public hasOtherWithName ( $name )
    public function hasOtherWithName($name)
    {
        foreach ($this->others as $other) {
            if ($name === $other->getName()) {
                return true;
            }
        }
        return false;
    }