You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/**
* Base constructor.
*
* @param string arg1 The first argument.
* @param strign arg2 The second argument.
*/
abstract class BaseClass {
public function __construct($arg1, $arg2) { /* ... */ }
}
/**
* Concrete constructor.
*/
class ConcreteClass extends BaseClass {
public function __construct() {
parent::__construct('value1', 'value2');
}
}
Currently, the doc generated for ContreteClass::__construct will contain the parameter information for the base class constructor:
Constructor Detail
public void __construct()
Parameters:
arg1 - The first parameter.
arg2 - The second parameter.
The text was updated successfully, but these errors were encountered:
Consider the following inheritance situation:
Currently, the doc generated for ContreteClass::__construct will contain the parameter information for the base class constructor:
Constructor Detail
public void __construct()
Parameters:
The text was updated successfully, but these errors were encountered: