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]);
    }