mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 01:57:13 +00:00
Add magic methods
This commit is contained in:
+2
-2
@@ -26,10 +26,10 @@ class Method
|
||||
protected $params_with_default = array();
|
||||
protected $interfaces = array();
|
||||
|
||||
public function __construct($method, $alias, $class, $interfaces = array())
|
||||
public function __construct($method, $alias, $class, $methodName = null, $interfaces = array())
|
||||
{
|
||||
$this->interfaces = $interfaces;
|
||||
$this->name = $method->name;
|
||||
$this->name = $methodName ?: $method->name;
|
||||
$this->namespace = $method->getDeclaringClass()->getNamespaceName();
|
||||
|
||||
//Create a DocBlock and serializer instance
|
||||
|
||||
Reference in New Issue
Block a user