PhpParser\PrettyPrinter\Standard::pExpr_Include PHP Method

pExpr_Include() protected method

protected pExpr_Include ( PhpParser\Node\Expr\Include_ $node )
$node PhpParser\Node\Expr\Include_
    protected function pExpr_Include(Expr\Include_ $node) {
        static $map = array(
            Expr\Include_::TYPE_INCLUDE      => 'include',
            Expr\Include_::TYPE_INCLUDE_ONCE => 'include_once',
            Expr\Include_::TYPE_REQUIRE      => 'require',
            Expr\Include_::TYPE_REQUIRE_ONCE => 'require_once',
        );

        return $map[$node->type] . ' ' . $this->p($node->expr);
    }
Standard