コード例 #1
0
 /**
  * ControllerConfigurator constructor.
  */
 public function __construct()
 {
     // Add to controller scope
     parent::__construct(Builder::SCOPE_CONTROLLER);
 }
コード例 #2
0
 /**
  * ServiceConfigurator constructor.
  *
  * @param string $serviceData Class service name
  */
 public function __construct(string $serviceData)
 {
     $this->serviceName = $serviceData;
     // Add to service scopes
     parent::__construct(Builder::SCOPE_SERVICES);
 }