public function getName()
    {
        //generate snake case name based on class name
        preg_match('/\\\?(\w+)Filter$/', get_class($this), $matches);

        return ltrim(strtolower(strval(preg_replace('/[A-Z]/', '_$0', $matches[1]))), '_');
    }
public function getName()
    {
        //generate snake case name based on class name
        preg_match('/\\\?(\w+)Filter$/', get_class($this), $matches);

        return ltrim(strtolower(strval(preg_replace('/[A-Z]/', '_$0', $matches[1]))), '_');
    }
public function getName ( ) { //generate snake case name based on class name preg_match ( '/\\\?(\w+)Filter$/' , get_class ( $ this ) , $ matches ) ; return ltrim ( strtolower ( strval ( preg_replace ( '/[A-Z]/' , '_$0' , $ matches [ 1 ] ) ) ) , '_' ) ; }
Gets the name for the filter.

@return string
Gets the name for the filter .