src/Config/Loader/ClassLoader.php
public function getExtraOptionsHandler($extraOptionName)
    {
        // Check extraOption handlers that are valid for all classes
        if (isset(self::$extraOptionHandlers['*'][$extraOptionName])) {
            return self::$extraOptionHandlers['*'][$extraOptionName];
        }

        // Check extraOption handlers that are valid for the given class
        if (isset(self::$extraOptionHandlers[$this->class][$extraOptionName])) {
            return self::$extraOptionHandlers[$this->class][$extraOptionName];
        }

        return null;
    }
public function getExtraOptionsHandler($extraOptionName)
    {
        // Check extraOption handlers that are valid for all classes
        if (isset(self::$extraOptionHandlers['*'][$extraOptionName])) {
            return self::$extraOptionHandlers['*'][$extraOptionName];
        }

        // Check extraOption handlers that are valid for the given class
        if (isset(self::$extraOptionHandlers[$this->class][$extraOptionName])) {
            return self::$extraOptionHandlers[$this->class][$extraOptionName];
        }

        return null;
    }
public function getExtraOptionsHandler ( $ extraOptionName ) { // Check extraOption handlers that are valid for all classes if ( isset ( self :: $ extraOptionHandlers [ '*' ] [ $ extraOptionName ] ) ) { return self :: $ extraOptionHandlers [ '*' ] [ $ extraOptionName ] ; } // Check extraOption handlers that are valid for the given class if ( isset ( self :: $ extraOptionHandlers [ $ this -> class ] [ $ extraOptionName ] ) ) { return self :: $ extraOptionHandlers [ $ this -> class ] [ $ extraOptionName ] ; } return null ; }
Get the corresponding handler for a given option

@param  string $extraOptionName Option name

@return \Closure|null Corresponding Closure object or null if not found
Get the corresponding handler for a given option