infoweb\cms\models\Image::getPath PHP Метод

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

Returns the path to the image
public getPath ( $size = false, $crop = true ) : string
Результат string
    public function getPath($size = false, $crop = true)
    {
        $url = $this->getUrl($size, $crop);
        // Replace the baseUrl with the basePath
        return str_replace(\Yii::getAlias('@uploadsBaseUrl'), \Yii::getAlias('@uploadsBasePath'), $url);
    }