1 | <?php |
||
8 | abstract class AbstractDocument extends AbstractModel |
||
9 | { |
||
10 | /** |
||
11 | * The content |
||
12 | * @var WsdlContent |
||
13 | */ |
||
14 | protected $content; |
||
15 | /** |
||
16 | * @param Generator $generator |
||
17 | * @param string $name |
||
18 | * @param string $content |
||
19 | */ |
||
20 | public function __construct(Generator $generator, $name, $content) |
||
25 | /** |
||
26 | * @return string |
||
27 | */ |
||
28 | abstract protected function contentClass(); |
||
29 | /** |
||
30 | * @param string $content wsdl/schema content |
||
31 | * @return AbstractDocument |
||
32 | */ |
||
33 | protected function setContent($content) |
||
45 | /** |
||
46 | * |
||
47 | * @return \WsdlToPhp\PackageGenerator\WsdlHandler\AbstractDocument |
||
48 | */ |
||
49 | public function getContent() |
||
53 | /** |
||
54 | * {@inheritDoc} |
||
55 | * @see \WsdlToPhp\PackageGenerator\Model\AbstractModel::toJsonSerialize() |
||
56 | */ |
||
57 | protected function toJsonSerialize() |
||
61 | } |
||
62 |