Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
/** * Creates new instance of Navigation * * @param ResourceType $resourceType The resource type for this navigation. */ public function __construct($resourceType) { if ($resourceType->getResourceTypeKind() != ResourceTypeKind::COMPLEX && $resourceType->getResourceTypeKind() != ResourceTypeKind::ENTITY) { throw new InvalidArgumentException(Messages::navigationInvalidResourceType()); } $this->_resourceType = $resourceType; }