public function __construct(PageTypePublishTargetType $type) { $this->ptPublishTargetTypeID = $type->getPageTypePublishTargetTypeID(); $this->ptPublishTargetTypeHandle = $type->getPageTypePublishTargetTypeHandle(); $this->pkgHandle = $type->getPackageHandle(); }