private function getPathsForLocalImagerFile($image)
    {
        /** @var ConfigModel $settings */
        $config = ImagerService::getConfig();

        $imageString = '/'.str_replace($config->getSetting('imagerUrl'), '', $image);

        $pathParts = pathinfo($imageString);

        $this->transformPath = $pathParts['dirname'];
        $this->path = FileHelper::normalizePath($config->getSetting('imagerSystemPath').'/'.$pathParts['dirname']);
        $this->url = $image;
        $this->filename = $pathParts['basename'];
        $this->basename = $pathParts['filename'];
        $this->extension = $pathParts['extension'];
    }
private function getPathsForLocalImagerFile($image)
    {
        /** @var ConfigModel $settings */
        $config = ImagerService::getConfig();

        $imageString = '/'.str_replace($config->getSetting('imagerUrl'), '', $image);

        $pathParts = pathinfo($imageString);

        $this->transformPath = $pathParts['dirname'];
        $this->path = FileHelper::normalizePath($config->getSetting('imagerSystemPath').'/'.$pathParts['dirname']);
        $this->url = $image;
        $this->filename = $pathParts['basename'];
        $this->basename = $pathParts['filename'];
        $this->extension = $pathParts['extension'];
    }
private function getPathsForLocalImagerFile ( $ image ) { /** @var ConfigModel $settings */ $ config = ImagerService :: getConfig ( ) ; $ imageString = '/' . str_replace ( $ config -> getSetting ( 'imagerUrl' ) , '' , $ image ) ; $ pathParts = pathinfo ( $ imageString ) ; $ this -> transformPath = $ pathParts [ 'dirname' ] ; $ this -> path = FileHelper :: normalizePath ( $ config -> getSetting ( 'imagerSystemPath' ) . '/' . $ pathParts [ 'dirname' ] ) ; $ this -> url = $ image ; $ this -> filename = $ pathParts [ 'basename' ] ; $ this -> basename = $ pathParts [ 'filename' ] ; $ this -> extension = $ pathParts [ 'extension' ] ; }
Get paths for a local file that's in the imager path

@param $image
Get paths for a local file that s in the imager path