public function storeFile($filePath) { $image = new ImageProcessor($filePath, $this->getMaxDimensions(), $this->getMaxFileSize()); $image->process(); $this->_storeFile($image->inputPath, $image->ext()); }