src/AbstractParentAwareContainer.php
The method _setParentContainer is not named in camelCase. Open
Open
protected function _setParentContainer(BaseContainerInterface $container = null)
{
$this->parentContainer = $container;
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() {
}
}
Source
The method _hasParentContainer is not named in camelCase. Open
Open
protected function _hasParentContainer()
{
return $this->parentContainer instanceof BaseContainerInterface;
}
- 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 _resolveDefinition is not named in camelCase. Open
Open
protected function _resolveDefinition($definition, $config)
{
$root = $this->_getRootContainer();
$container = $root ? $root : $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() {
}
}
Source
The method _getParentContainer is not named in camelCase. Open
Open
protected function _getParentContainer()
{
return ($this->_hasParentContainer())
? $this->parentContainer
: null;
- 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 _getRootContainer is not named in camelCase. Open
Open
protected function _getRootContainer()
{
$parent = $this->_getParentContainer();
do {
$root = $parent;
- 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() {
}
}