public function getUploadedFilePath($attribute)
    {
        $behavior = static::getInstance($this->owner, $attribute);

        if (!$this->owner->{$attribute}) {
            return '';
        }

        return $behavior->resolvePath($behavior->filePath);
    }
public function getUploadedFilePath($attribute)
    {
        $behavior = static::getInstance($this->owner, $attribute);

        if (!$this->owner->{$attribute}) {
            return '';
        }

        return $behavior->resolvePath($behavior->filePath);
    }
public function getUploadedFilePath ( $ attribute ) { $ behavior = static :: getInstance ( $ this -> owner , $ attribute ) ; if ( ! $ this -> owner -> { $ attribute } ) { return '' ; } return $ behavior -> resolvePath ( $ behavior -> filePath ) ; }
Returns file path for attribute.

@param string $attribute
@return string
Returns file path for attribute .