Nelmio\Alice\ObjectInterface::getId PHP Метод

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

public getId ( ) : string
Результат string
    public function getId() : string;

Usage Example

Пример #1
0
 /**
  * Creates a new instance which will no longer contain the given object.
  *
  * @param FixtureInterface|ObjectInterface $objectOrFixture
  *
  * @return self
  */
 public function without($objectOrFixture) : self
 {
     $clone = clone $this;
     unset($clone->objects[$objectOrFixture->getId()]);
     unset($clone->array[$objectOrFixture->getId()]);
     return $clone;
 }
All Usage Examples Of Nelmio\Alice\ObjectInterface::getId
ObjectInterface