PhpSpec\Process\Shutdown\Shutdown::registerAction PHP Method

registerAction() public method

public registerAction ( PhpSpec\Process\Shutdown\ShutdownAction $action )
$action PhpSpec\Process\Shutdown\ShutdownAction
    public function registerAction(ShutdownAction $action)
    {
        $this->actions[] = $action;
    }