Pimcore\Model\Asset::getFileSystemPath PHP Method

getFileSystemPath() public method

Get full path to the asset on the filesystem
public getFileSystemPath ( ) : string
return string
    public function getFileSystemPath()
    {
        return PIMCORE_ASSET_DIRECTORY . $this->getRealFullPath();
    }

Usage Example

Exemplo n.º 1
0
 /**
  * Get size of file in bytes
  *
  * @return integer
  */
 function getSize()
 {
     return filesize($this->asset->getFileSystemPath());
 }