protected function getPath($file = null)
    {
        $path = Configure::readOrFail('Thumber.target');

        return $file ? $path . DS . $file : $path;
    }
protected function getPath($file = null)
    {
        $path = Configure::readOrFail('Thumber.target');

        return $file ? $path . DS . $file : $path;
    }
protected function getPath ( $ file = null ) { $ path = Configure :: readOrFail ( 'Thumber.target' ) ; return $ file ? $ path . DS . $ file : $ path ; }
Gets a path for a thumbnail.

Called with the `$file` argument, returns the file absolute path.
Otherwise, called with `null`, returns the path of the target directory.
@param string|null $file File
@return string
Gets a path for a thumbnail .