src/AutoInject.php
private function isMethodIncluded($methodName, $attr)
    {
        if (empty($attr[self::CONFIG_INCLUDE]) || !is_array($attr[self::CONFIG_INCLUDE])) {
            return true;
        }
        
        return in_array($methodName, $attr[self::CONFIG_INCLUDE]);
    }
private function isMethodIncluded($methodName, $attr)
    {
        if (empty($attr[self::CONFIG_INCLUDE]) || !is_array($attr[self::CONFIG_INCLUDE])) {
            return true;
        }
        
        return in_array($methodName, $attr[self::CONFIG_INCLUDE]);
    }
private function isMethodIncluded ( $ methodName , $ attr ) { if ( empty ( $ attr [ self :: CONFIG_INCLUDE ] ) || ! is_array ( $ attr [ self :: CONFIG_INCLUDE ] ) ) { return true ; } return in_array ( $ methodName , $ attr [ self :: CONFIG_INCLUDE ] ) ; }
Checks if a method is in the include list
@param $methodName
@param $attr
@return bool
Checks if a method is in the include list