コード例 #1
0
 /**
  * @param string $identifier
  * @return \eZ\Publish\SPI\Persistence\Content\Type\Group
  * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException If type group with $identifier is not found
  */
 public function loadGroupByIdentifier($identifier)
 {
     if (isset($this->groups[$identifier])) {
         return $this->groups[$identifier];
     }
     return $this->groups[$identifier] = $this->innerHandler->loadGroupByIdentifier($identifier);
 }