PHPSA\Compiler\Event\StatementBeforeCompile::__construct PHP Method

__construct() public method

public __construct ( PhpParser\Node\Stmt $statement, Context $context )
$statement PhpParser\Node\Stmt
$context PHPSA\Context
    public function __construct(\PhpParser\Node\Stmt $statement, Context $context)
    {
        parent::__construct();
        $this->context = $context;
        $this->statement = $statement;
    }