src/AutoInject.php
private function hasConfig($config, $attr)
    {
        return (isset($attr[self::CONFIG_ALL]) && $attr[self::CONFIG_ALL]) || (isset($attr[$config]) && $attr[$config]);
    }
private function hasConfig($config, $attr)
    {
        return (isset($attr[self::CONFIG_ALL]) && $attr[self::CONFIG_ALL]) || (isset($attr[$config]) && $attr[$config]);
    }
private function hasConfig ( $ config , $ attr ) { return ( isset ( $ attr [ self :: CONFIG_ALL ] ) && $ attr [ self :: CONFIG_ALL ] ) || ( isset ( $ attr [ $ config ] ) && $ attr [ $ config ] ) ; }
Tests whether ot not a config option has been provided in the tag
If the "all" setting is present, this will return true
@param string $config
@param array $attr
@return bool
Tests whether ot not a config option has been provided in the tag If the all setting is present this will return true