src/EventListener/InsertTagsListener.php
public function onReplaceInsertTags(string $tag)
    {
        $elements = explode('::', $tag);
        $key = strtolower($elements[0]);
        $attributes = \array_slice($elements, 1);

        if (\in_array($key, $this->supportedTags)) {
            return $this->replaceSupportedTags($key, $attributes);
        }

        return false;
    }
public function onReplaceInsertTags(string $tag)
    {
        $elements = explode('::', $tag);
        $key = strtolower($elements[0]);
        $attributes = \array_slice($elements, 1);

        if (\in_array($key, $this->supportedTags)) {
            return $this->replaceSupportedTags($key, $attributes);
        }

        return false;
    }
public function onReplaceInsertTags ( string $ tag ) { $ elements = explode ( '::' , $ tag ) ; $ key = strtolower ( $ elements [ 0 ] ) ; $ attributes = \ array_slice ( $ elements , 1 ) ; if ( \ in_array ( $ key , $ this -> supportedTags ) ) { return $ this -> replaceSupportedTags ( $ key , $ attributes ) ; } return false ; }
Replaces calendar insert tags.

@param string $tag

@return string|false
Replaces calendar insert tags .