src/View/Embed/EmbedResource.php
public function getName()
    {
        if ($this->getEmbed()->title) {
            return $this->getEmbed()->title;
        }

        return preg_replace('/\?.*/', '', basename($this->getEmbed()->getUrl()));
    }
public function getName()
    {
        if ($this->getEmbed()->title) {
            return $this->getEmbed()->title;
        }

        return preg_replace('/\?.*/', '', basename($this->getEmbed()->getUrl()));
    }
public function getName ( ) { if ( $ this -> getEmbed ( ) -> title ) { return $ this -> getEmbed ( ) -> title ; } return preg_replace ( '/\?.*/' , '' , basename ( $ this -> getEmbed ( ) -> getUrl ( ) ) ) ; }
Get human readable name for this resource

@return string
Get human readable name for this resource