src/AutoInject.php
private function isMethodExcluded($methodName, $attr)
    {
        if (empty($attr[self::CONFIG_EXCLUDE]) || !is_array($attr[self::CONFIG_EXCLUDE])) {
            return false;
        }

        return in_array($methodName, $attr[self::CONFIG_EXCLUDE]);
    }
private function isMethodExcluded($methodName, $attr)
    {
        if (empty($attr[self::CONFIG_EXCLUDE]) || !is_array($attr[self::CONFIG_EXCLUDE])) {
            return false;
        }

        return in_array($methodName, $attr[self::CONFIG_EXCLUDE]);
    }
private function isMethodExcluded ( $ methodName , $ attr ) { if ( empty ( $ attr [ self :: CONFIG_EXCLUDE ] ) || ! is_array ( $ attr [ self :: CONFIG_EXCLUDE ] ) ) { return false ; } return in_array ( $ methodName , $ attr [ self :: CONFIG_EXCLUDE ] ) ; }
Checks if a method is in the exclude list
@param $methodName
@param $attr
@return bool
Checks if a method is in the exclude list