src/Mouf/Reflection/MoufXmlReflectionClass.php
public function getMethodsByPattern($regex)
    {
    	$methods = array();
        foreach ($this->xmlRoot->method as $method) {
    		if (preg_match("/$regex/", $method['name'])) {
		        $moufRefMethod = new MoufXmlReflectionMethod($this, $method);
		        $methods[] = $moufRefMethod;
    		}
    	}
    	return $methods;
    }
public function getMethodsByPattern($regex)
    {
    	$methods = array();
        foreach ($this->xmlRoot->method as $method) {
    		if (preg_match("/$regex/", $method['name'])) {
		        $moufRefMethod = new MoufXmlReflectionMethod($this, $method);
		        $methods[] = $moufRefMethod;
    		}
    	}
    	return $methods;
    }
public function getMethodsByPattern ( $ regex ) { $ methods = array ( ) ; foreach ( $ this -> xmlRoot -> method as $ method ) { if ( preg_match ( "/$regex/" , $ method [ 'name' ] ) ) { $ moufRefMethod = new MoufXmlReflectionMethod ( $ this , $ method ) ; $ methods [ ] = $ moufRefMethod ; } } return $ methods ; }
returns methods mathcing the given pattern

@param   string $regex the regular expression to match (without trailing slashes)
@return  array<MoufXmlReflectionMethod>
returns methods mathcing the given pattern