protected function getRuntime(PortableElementObject $object)
    {
        $object = $this->fetch($object->getTypeIdentifier(), $object->getVersion());
        $runtime = $object->toArray();
        $runtime['model'] = $object->getModelId();
        $runtime['xmlns'] = $object->getNamespace();
        $runtime['runtime'] = $object->getRuntimeAliases();
        $runtime['creator'] = $object->getCreatorAliases();
        $runtime['baseUrl'] = $this->getBaseUrl($object);
        return $runtime;
    }
protected function getRuntime(PortableElementObject $object)
    {
        $object = $this->fetch($object->getTypeIdentifier(), $object->getVersion());
        $runtime = $object->toArray();
        $runtime['model'] = $object->getModelId();
        $runtime['xmlns'] = $object->getNamespace();
        $runtime['runtime'] = $object->getRuntimeAliases();
        $runtime['creator'] = $object->getCreatorAliases();
        $runtime['baseUrl'] = $this->getBaseUrl($object);
        return $runtime;
    }
protected function getRuntime ( PortableElementObject $ object ) { $ object = $ this -> fetch ( $ object -> getTypeIdentifier ( ) , $ object -> getVersion ( ) ) ; $ runtime = $ object -> toArray ( ) ; $ runtime [ 'model' ] = $ object -> getModelId ( ) ; $ runtime [ 'xmlns' ] = $ object -> getNamespace ( ) ; $ runtime [ 'runtime' ] = $ object -> getRuntimeAliases ( ) ; $ runtime [ 'creator' ] = $ object -> getCreatorAliases ( ) ; $ runtime [ 'baseUrl' ] = $ this -> getBaseUrl ( $ object ) ; return $ runtime ; }
Return the runtime of a portable element

@param PortableElementObject $object
@return PortableElementObject
@throws PortableElementNotFoundException
Return the runtime of a portable element