Cascade\Config\Loader\ClassLoader::canHandle PHP Метод

canHandle() публичный Метод

Indicates whether or not an option is supported by the loader
public canHandle ( string $extraOptionName ) : boolean
$extraOptionName string Option name
Результат boolean Whether or not an option is supported by the loader
    public function canHandle($extraOptionName)
    {
        return isset(self::$extraOptionHandlers['*'][$extraOptionName]) || isset(self::$extraOptionHandlers[$this->class][$extraOptionName]);
    }