protected static function _modifiers($inspector, $list = []) {
		$list = $list ?: ['public', 'private', 'protected', 'abstract', 'final', 'static'];
		return array_filter($list, function($modifier) use ($inspector) {
			$method = 'is' . ucfirst($modifier);
			return (method_exists($inspector, $method) && $inspector->{$method}());
		});
	}
protected static function _modifiers($inspector, $list = []) {
		$list = $list ?: ['public', 'private', 'protected', 'abstract', 'final', 'static'];
		return array_filter($list, function($modifier) use ($inspector) {
			$method = 'is' . ucfirst($modifier);
			return (method_exists($inspector, $method) && $inspector->{$method}());
		});
	}
protected static function _modifiers ( $ inspector , $ list = [ ] ) { $ list = $ list ? : [ 'public' , 'private' , 'protected' , 'abstract' , 'final' , 'static' ] ; return array_filter ( $ list , function ( $ modifier ) use ( $ inspector ) { $ method = 'is' . ucfirst ( $ modifier ) ; return ( method_exists ( $ inspector , $ method ) && $ inspector -> { $ method } ( ) ) ; } ) ; }
Helper method to determine if a class applies to a list of modifiers.

@param string $inspector ReflectionClass instance.
@param array|string $list List of modifiers to test.
@return boolean Test result.
Helper method to determine if a class applies to a list of modifiers .