AppserverIo\Appserver\Core\Api\Node\ErrorPageNode::__construct PHP Method

__construct() public method

Initializes the error page node with the passed values.
public __construct ( AppserverIo\Configuration\Interfaces\NodeValueInterface $errorCodePattern = null, AppserverIo\Configuration\Interfaces\NodeValueInterface $errorLocation = null )
$errorCodePattern AppserverIo\Configuration\Interfaces\NodeValueInterface The error code pattern
$errorLocation AppserverIo\Configuration\Interfaces\NodeValueInterface The error location
    public function __construct(NodeValueInterface $errorCodePattern = null, NodeValueInterface $errorLocation = null)
    {
        $this->errorCodePattern = $errorCodePattern;
        $this->errorLocation = $errorLocation;
    }