public function getUploadedFileUrl($attribute)
    {
        if (!$this->owner->{$attribute}) {
            return null;
        }

        $behavior = static::getInstance($this->owner, $attribute);

        return $behavior->resolvePath($behavior->fileUrl);
    }
public function getUploadedFileUrl($attribute)
    {
        if (!$this->owner->{$attribute}) {
            return null;
        }

        $behavior = static::getInstance($this->owner, $attribute);

        return $behavior->resolvePath($behavior->fileUrl);
    }
public function getUploadedFileUrl ( $ attribute ) { if ( ! $ this -> owner -> { $ attribute } ) { return null ; } $ behavior = static :: getInstance ( $ this -> owner , $ attribute ) ; return $ behavior -> resolvePath ( $ behavior -> fileUrl ) ; }
Returns file url for the attribute.

@param string $attribute
@return string|null
Returns file url for the attribute .