/** * @param ResourceCollection $resourceCollection * * @return OwnershipManager */ public function buildManager(ResourceCollection $resourceCollection) { $hashKey = $resourceCollection->getHashValue(); if (isset($this->managerList[$hashKey])) { return $this->managerList[$hashKey]; } $this->managerList[$hashKey] = $manager = new OwnershipManager($this->performer, $resourceCollection); return $manager; }