public function __construct(RdfsInterface $inner, RdfsInterface $workSpaceRdfs) { $this->resource = new WrapperResource($inner->getResourceImplementation(), $workSpaceRdfs->getResourceImplementation()); $this->class = $inner->getClassImplementation(); $this->property = $inner->getPropertyImplementation(); }