public static function create($class, $method) { $instance = new Method($class, $method); return $instance; }