Пример #1
0
 public function __construct(TypeRegisterer $registerer)
 {
     parent::__construct('Type', $registerer->getTypeName(), $registerer);
 }
Пример #2
0
 public function __construct(InstanceRegisterer $registerer)
 {
     parent::__construct('Instance', get_class($registerer->getInstance()), $registerer);
 }