protected function getFileUploadPath($file)
    {
        // check if path override is defined for current file
        $pathOverrideMethod = camel_case(strtolower($this->uploadFieldName) . 'UploadFilePath');

        if (method_exists($this, $pathOverrideMethod)) {
            return $this->getImageUploadPath() . '/' . $this->$pathOverrideMethod($file);
        }

        return $this->getImageUploadPath() . '/' . $file->hashName();
    }
protected function getFileUploadPath($file)
    {
        // check if path override is defined for current file
        $pathOverrideMethod = camel_case(strtolower($this->uploadFieldName) . 'UploadFilePath');

        if (method_exists($this, $pathOverrideMethod)) {
            return $this->getImageUploadPath() . '/' . $this->$pathOverrideMethod($file);
        }

        return $this->getImageUploadPath() . '/' . $file->hashName();
    }
protected function getFileUploadPath ( $ file ) { // check if path override is defined for current file $ pathOverrideMethod = camel_case ( strtolower ( $ this -> uploadFieldName ) . 'UploadFilePath' ) ; if ( method_exists ( $ this , $ pathOverrideMethod ) ) { return $ this -> getImageUploadPath ( ) . '/' . $ this -> $ pathOverrideMethod ( $ file ) ; } return $ this -> getImageUploadPath ( ) . '/' . $ file -> hashName ( ) ; }
Get the full path to upload file

@param $file
@return string
Get the full path to upload file