private function methodDataProvider($method) { if (preg_match("/@\\bdataProvider\\b \\b(.*)\\b/", $method->getDocBlock(), $matches)) { return $matches[1]; } return null; }