public function render()
    {
        $value = $this->arguments['value'];

        if ($value === null) {
            $value = $this->renderChildren();
        }
        if ($value === null) {
            return null;
        }
        if (!is_object($value)) {
            throw new ViewHelper\Exception('f:format.identifier expects an object, ' . gettype($value) . ' given.', 1337700024);
        }
        return $this->persistenceManager->getIdentifierByObject($value);
    }
public function render()
    {
        $value = $this->arguments['value'];

        if ($value === null) {
            $value = $this->renderChildren();
        }
        if ($value === null) {
            return null;
        }
        if (!is_object($value)) {
            throw new ViewHelper\Exception('f:format.identifier expects an object, ' . gettype($value) . ' given.', 1337700024);
        }
        return $this->persistenceManager->getIdentifierByObject($value);
    }
public function render ( ) { $ value = $ this -> arguments [ 'value' ] ; if ( $ value === null ) { $ value = $ this -> renderChildren ( ) ; } if ( $ value === null ) { return null ; } if ( ! is_object ( $ value ) ) { throw new ViewHelper \ Exception ( 'f:format.identifier expects an object, ' . gettype ( $ value ) . ' given.' , 1337700024 ) ; } return $ this -> persistenceManager -> getIdentifierByObject ( $ value ) ; }
Outputs the identifier of the specified object

@return mixed the identifier of $value, usually the UUID
@throws ViewHelper\Exception if the given value is no object
@api
Outputs the identifier of the specified object