コード例 #1
0
 /**
  * @param PropertyEncoder             $encoder
  * @param ContentTypeManagerInterface $contentTypeManager
  * @param StructureMetadataFactory    $structureFactory
  */
 public function __construct(PropertyEncoder $encoder, ContentTypeManagerInterface $contentTypeManager, DocumentInspector $inspector, LegacyPropertyFactory $legacyPropertyFactory)
 {
     parent::__construct($encoder);
     $this->contentTypeManager = $contentTypeManager;
     $this->inspector = $inspector;
     $this->legacyPropertyFactory = $legacyPropertyFactory;
 }
コード例 #2
0
ファイル: TitleSubscriber.php プロジェクト: kriswillis/sulu
 public function __construct(PropertyEncoder $encoder, DocumentInspector $inspector)
 {
     parent::__construct($encoder);
     $this->inspector = $inspector;
 }
コード例 #3
0
 /**
  * @param PropertyEncoder   $encoder
  * @param DocumentInspector $inspector
  */
 public function __construct(PropertyEncoder $encoder, DocumentInspector $inspector, DocumentRegistry $registry)
 {
     parent::__construct($encoder);
     $this->inspector = $inspector;
     $this->registry = $registry;
 }
コード例 #4
0
ファイル: RouteSubscriber.php プロジェクト: kriswillis/sulu
 /**
  * @param PropertyEncoder  $encoder
  * @param DocumentAccessor $accessor
  * @param ProxyFactory     $proxyFactory
  */
 public function __construct(PropertyEncoder $encoder, ProxyFactory $proxyFactory, DocumentRegistry $documentRegistry)
 {
     parent::__construct($encoder);
     $this->proxyFactory = $proxyFactory;
     $this->documentRegistry = $documentRegistry;
 }