src/CallbackAwareTrait.php
The method _getCallback is not named in camelCase. Open
Open
protected function _getCallback()
{
return $this->callback;
}
- 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() {
}
}
Source
The method _setCallback is not named in camelCase. Open
Open
protected function _setCallback(callable $callback = null)
{
$this->callback = $callback;
return $this;
- 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() {
}
}