You are here

class StateMachineServiceProvider in State Machine 8

Registers the guard compiler pass.

Hierarchy

Expanded class hierarchy of StateMachineServiceProvider

File

src/StateMachineServiceProvider.php, line 12

Namespace

Drupal\state_machine
View source
class StateMachineServiceProvider implements ServiceProviderInterface {

  /**
   * {@inheritdoc}
   */
  public function register(ContainerBuilder $container) {
    $container
      ->addCompilerPass(new GuardsPass());
  }

}

Members