ProtectedFile::getThumbnailPath PHP Method

getThumbnailPath() protected method

Get the path for a thumbnail.
protected getThumbnailPath ( string $dimensions ) : string
$dimensions string
return string
    protected function getThumbnailPath($dimensions)
    {
        return self::getBasePath() . '/' . substr($this->uid, 0, 1) . '/' . substr($this->uid, 1, 1) . '/' . substr($this->uid, 2, 1) . '/' . $dimensions . '/' . $this->uid;
    }