コード例 #1
0
ファイル: ObjectDefinition.php プロジェクト: njasm/container
 public function __construct($key, $concrete, ServicesProviderInterface $container, array $properties = array(), array $methods = array())
 {
     parent::__construct($key, $container);
     $this->concrete = $concrete;
     $this->defaultProperties = $properties;
     $this->defaultMethods = $methods;
 }
コード例 #2
0
ファイル: AliasDefinition.php プロジェクト: njasm/container
 public function __construct($key, $concrete, ServicesProviderInterface $container)
 {
     parent::__construct($key, $container);
     $this->concrete = $concrete;
 }
コード例 #3
0
ファイル: ClosureDefinition.php プロジェクト: njasm/container
 public function __construct($key, $concrete, ServicesProviderInterface $container, array $constructor = array())
 {
     parent::__construct($key, $container);
     $this->concrete = $concrete;
     $this->defaultConstructor = $constructor;
 }
コード例 #4
0
 public function __construct($key, ServicesProviderInterface $container)
 {
     parent::__construct($key, $container);
 }