getType() public method

Get type.
public getType ( ) : CollectionType
return CollectionType
Exemplo n.º 1
0
 /**
  * @VirtualProperty
  * @SerializedName("locked")
  *
  * @return string
  */
 public function getLocked()
 {
     return !$this->entity->getType() || $this->entity->getType()->getKey() === SystemCollectionManagerInterface::COLLECTION_TYPE;
 }
Exemplo n.º 2
0
 /**
  * @VirtualProperty
  * @SerializedName("locked")
  *
  * @return string
  */
 public function getLocked()
 {
     return !$this->entity->getType() || $this->entity->getType()->getKey() === 'collection.system';
 }