public function __construct($name = '', $type = '', $factory = '', $contextFactory = '') { $this->name = $name; $this->type = $type; $this->factory = $factory; $this->contextFactory = $contextFactory; }