private createContext ( ) : |
||
return |
private function createContext()
{
$class = new ClassGenerator('MyType', 'MyNamespace');
$type = new Type('MyNamespace', 'MyType', ['prop1' => 'string', 'prop2' => 'int']);
return new TypeContext($class, $type);
}