Neos\Flow\Persistence\Generic\Backend\BackendInterface::getObjectDataByIdentifier PHP Метод

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

Returns the object data for the given identifier.
public getObjectDataByIdentifier ( string $identifier, string $objectType = null ) : array
$identifier string The UUID or Hash of the object
$objectType string
Результат array
    public function getObjectDataByIdentifier($identifier, $objectType = null);

Usage Example

Пример #1
0
 /**
  * Returns the object data for the (internal) identifier, if it is known to
  * the backend. Otherwise FALSE is returned.
  *
  * @param string $identifier
  * @param string $objectType
  * @return object The object data for the identifier if it is known, or FALSE
  */
 public function getObjectDataByIdentifier($identifier, $objectType = null)
 {
     return $this->backend->getObjectDataByIdentifier($identifier, $objectType);
 }