* * @param string $partialPath * @return string */ public function absPath(string $partialPath): string { return Path::join(Path::getProjectDir(), 'public', $partialPath); } /** * Retourne l'URL d'accès à une image contenu dans une File * * Usage : * * * * @param File $file * @return string * @throws FileNotFoundException */ public function fileImagePath(File $file, $size): string { return $this->fileManager->readImage($file, $size, true); } }