private function getNameAndFilters($name)
    {
        $filters = array_map('trim', explode('|', $name));
        $name    = array_shift($filters);

        return array($name, $filters);
    }
private function getNameAndFilters($name)
    {
        $filters = array_map('trim', explode('|', $name));
        $name    = array_shift($filters);

        return array($name, $filters);
    }
private function getNameAndFilters ( $ name ) { $ filters = array_map ( 'trim' , explode ( '|' , $ name ) ) ; $ name = array_shift ( $ filters ) ; return array ( $ name , $ filters ) ; }
Split a tag name into name and filters.

@param string $name

@return array [Tag name, Array of filters]
Split a tag name into name and filters .