indicate that transformer_info might be more complex
This commit is contained in:
parent
e0dd7af167
commit
a7db0c92f5
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ A solution could be to define a transformer interface and let the transformers b
|
||||||
```php
|
```php
|
||||||
interface Transformer {
|
interface Transformer {
|
||||||
public function get_supported_post_types(): array;
|
public function get_supported_post_types(): array;
|
||||||
public function get_transformer_info(): string;
|
public function get_transformer_info(): array;
|
||||||
public function to_object(WP_Post $post);
|
public function to_object(WP_Post $post);
|
||||||
....
|
....
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue