| 1 | <?php | ||
| 18 | class ResourceCreatedDocument extends AbstractSuccessfulDocument | ||
| 19 | { | ||
| 20 | use JsonApiObjectProviderTrait; | ||
| 21 | |||
| 22 | /** | ||
| 23 | * @var AbstractResourceTransformer|ResourceTransformerInterface | ||
| 24 | */ | ||
| 25 | protected $transformer; | ||
| 26 | |||
| 27 | public function __construct(ResourceTransformerInterface $transformer) | ||
| 31 | |||
| 32 | /** | ||
| 33 |      * {@inheritdoc} | ||
| 34 | */ | ||
| 35 | public function getMeta(): array | ||
| 39 | |||
| 40 | /** | ||
| 41 |      * {@inheritdoc} | ||
| 42 | */ | ||
| 43 | public function getLinks(): ?Links | ||
| 47 | |||
| 48 | /** | ||
| 49 |      * {@inheritdoc} | ||
| 50 | */ | ||
| 51 | protected function createData(): DataInterface | ||
| 55 | |||
| 56 | /** | ||
| 57 |      * {@inheritdoc} | ||
| 58 | */ | ||
| 59 | protected function fillData(Transformation $transformation): void | ||
| 63 | |||
| 64 | /** | ||
| 65 |      * {@inheritdoc} | ||
| 66 | */ | ||
| 67 | protected function getRelationshipMember( | ||
| 74 | } | ||
| 75 |