src/Di/Service.php
The method __callstatic is not named in camelCase. Open
Open
public static function __callstatic(/*# string */ $method, array $params)
{
if (static::$container) {
// append scope if provided
if (!isset($params[0])) {
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}