protected static function parseAutowiring($value)
    {
        switch ($value) {
            case true:
            case Configuration::AUTOWIRING_MODE_ON:
                return Configuration::AUTOWIRING_MODE_ON;
            case false:
            case Configuration::AUTOWIRING_MODE_OFF:
                return Configuration::AUTOWIRING_MODE_OFF;
            default:
                throw new InvalidObjectConfigurationException('Invalid autowiring declaration', 1283866757);
        }
    }
protected static function parseAutowiring($value)
    {
        switch ($value) {
            case true:
            case Configuration::AUTOWIRING_MODE_ON:
                return Configuration::AUTOWIRING_MODE_ON;
            case false:
            case Configuration::AUTOWIRING_MODE_OFF:
                return Configuration::AUTOWIRING_MODE_OFF;
            default:
                throw new InvalidObjectConfigurationException('Invalid autowiring declaration', 1283866757);
        }
    }
protected static function parseAutowiring ( $ value ) { switch ( $ value ) { case true : case Configuration :: AUTOWIRING_MODE_ON : return Configuration :: AUTOWIRING_MODE_ON ; case false : case Configuration :: AUTOWIRING_MODE_OFF : return Configuration :: AUTOWIRING_MODE_OFF ; default : throw new InvalidObjectConfigurationException ( 'Invalid autowiring declaration' , 1283866757 ) ; } }
Parses the value of the option "autowiring"

@param  mixed $value Value of the option
@return integer The autowiring option translated into one of Configuration::AUTOWIRING_MODE_*
@throws InvalidObjectConfigurationException if an invalid option has been specified
Parses the value of the option autowiring