public getStorageDirectory ( |
||
$file | The file to get the storage directory for | |
return | string | The storage directory for the type of the given UploadedFile |
public function getStorageDirectory(UploadedFile $file)
{
return $this->container->getParameter('partkeepr.directories.' . $file->getType());
}