public function createContainer()
  {
    # Create the container
    $container = new Container;

    # If we have auto-wire option on ...
    if (($this->options['autowire'] ?? false)) {
      # Add reflection delegate, so auto-wiring is possible
      $container->delegate( new ReflectionContainer );
    }

    \logger()->debug('Created PSR-11 Container (The Leauge Container)');

    return $container;
  }
public function createContainer()
  {
    # Create the container
    $container = new Container;

    # If we have auto-wire option on ...
    if (($this->options['autowire'] ?? false)) {
      # Add reflection delegate, so auto-wiring is possible
      $container->delegate( new ReflectionContainer );
    }

    \logger()->debug('Created PSR-11 Container (The Leauge Container)');

    return $container;
  }
public function createContainer ( ) { # Create the container $ container = new Container ; # If we have auto-wire option on ... if ( ( $ this -> options [ 'autowire' ] ?? false ) ) { # Add reflection delegate, so auto-wiring is possible $ container -> delegate ( new ReflectionContainer ) ; } \ logger ( ) -> debug ( 'Created PSR-11 Container (The Leauge Container)' ) ; return $ container ; }
Create a new container

@return     \Psr\Container\ContainerInterface
Create a new container