PHPCfg\Op::getFile PHP Method

getFile() public method

public getFile ( )
    public function getFile()
    {
        return $this->getAttribute("filename", "unknown");
    }

Usage Example

Example #1
0
 protected function emitError($msg, Op $op)
 {
     echo $msg;
     echo " ";
     echo $op->getFile() . ":" . $op->getLine();
     echo "\n";
 }