Sulu\Component\Content\Compat\PropertyInterface::getTag PHP Method

getTag() public method

returns tag with given name.
public getTag ( string $tagName ) : PropertyTag
$tagName string
return PropertyTag
    public function getTag($tagName);

Usage Example

コード例 #1
0
 /**
  * returns tag with given name.
  *
  * @param string $tagName
  *
  * @return PropertyTag
  */
 public function getTag($tagName)
 {
     return $this->property->getTag($tagName);
 }