src/Mpociot/Reflection/DocBlock/Tag/ExampleTag.php
public function setFileURI($uri)
    {
        $this->isURI = true;
        if (false === strpos($uri, ':')) {
            //Relative URL
            $this->filePath = rawurldecode(
                str_replace(array('/', '\\'), '%2F', $uri)
            );
        } else {
            //Absolute URL or URI.
            $this->filePath = $uri;
        }

        $this->content = null;
        return $this;
    }
public function setFileURI($uri)
    {
        $this->isURI = true;
        if (false === strpos($uri, ':')) {
            //Relative URL
            $this->filePath = rawurldecode(
                str_replace(array('/', '\\'), '%2F', $uri)
            );
        } else {
            //Absolute URL or URI.
            $this->filePath = $uri;
        }

        $this->content = null;
        return $this;
    }
public function setFileURI ( $ uri ) { $ this -> isURI = true ; if ( false === strpos ( $ uri , ':' ) ) { //Relative URL $ this -> filePath = rawurldecode ( str_replace ( array ( '/' , '\\' ) , '%2F' , $ uri ) ) ; } else { //Absolute URL or URI. $ this -> filePath = $ uri ; } $ this -> content = null ; return $ this ; }
Sets the file path as an URI.

This function is equivalent to {@link setFilePath()}, except that it
convers an URI to a file path before that.

There is no getFileURI(), as {@link getFilePath()} is compatible.

@param type $uri The new file URI to use as an example.
Sets the file path as an URI .