Documentation

CorporationManagerContract

The Contract for the CorporationManager, defining the required methods.

Defines the contract for managing and interacting with LaravelNeuro Corporations. This interface allows mounting a Corporation by its ID or namespace, configuring tasks, enabling/disabling debugging, toggling history logging, and executing the Corporation’s state machine.

Table of Contents

Methods

debug()  : CorporationManagerContract
Enables or disables debug mode for the mounted Corporation.
disableHistory()  : CorporationManagerContract
Disables history logging for the current Corporation run.
enableHistory()  : CorporationManagerContract
Enables history logging for the current Corporation run.
getCorporationModel()  : NetworkCorporation
Retrieves the NetworkCorporation model associated with the mounted Corporation.
mount()  : CorporationManagerContract
Mounts a Corporation by its ID or namespace.
run()  : NetworkProject
Executes the Corporation’s state machine.
task()  : CorporationManagerContract
Assigns a task to the currently mounted Corporation.

Methods


        
On this page

Search results