public function __construct(ISkeletonSource $skeleton) { $this->constructorConnector = new ConstructorConnector(); $this->methodConnector = new MethodConnector(); $this->propertyConnector = new PropertyConnector(); $this->constructorConnector->setSkeleton($skeleton); $this->propertyConnector->setSkeleton($skeleton); $this->methodConnector->setSkeleton($skeleton); }