GraphAware\Neo4j\OGM\Tests\Integration\Model\City::getName PHP Метод

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

public getName ( ) : mixed
Результат mixed
    public function getName()
    {
        return $this->name;
    }

Usage Example

Пример #1
0
 public function removeCity(City $city)
 {
     if ($city->getName() === $this->getCity()->getName()) {
         $this->livesIn = null;
     }
 }