PartKeepr\UploadedFileBundle\Services\UploadedFileService::getStorageDirectory PHP 메소드

getStorageDirectory() 공개 메소드

Returns the storage directory for a given UploadedFile.
public getStorageDirectory ( UploadedFile $file ) : string
$file PartKeepr\UploadedFileBundle\Entity\UploadedFile The file to get the storage directory for
리턴 string The storage directory for the type of the given UploadedFile
    public function getStorageDirectory(UploadedFile $file)
    {
        return $this->container->getParameter('partkeepr.directories.' . $file->getType());
    }