Common\Doctrine\ValueObject\AbstractFile::getWebPath PHP Метод

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

public getWebPath ( ) : string
Результат string
    public function getWebPath()
    {
        $file = $this->getAbsolutePath();
        if (is_file($file) && file_exists($file)) {
            return FRONTEND_FILES_URL . '/' . $this->getTrimmedUploadDir() . '/' . $this->fileName;
        }
        return '';
    }