public static function resolve($item)
    {
        try {
            return static::toConstant($item);
        } catch (\Exception $_ex) {
            //  Ignored...
        }

        try {
            return static::toValue($item);
        } catch (\Exception $_ex) {
            //  Ignored...
        }

        //  Sorry charlie...
        throw new \InvalidArgumentException('The item "' . $item . '" can not be resolved.');
    }
public static function resolve($item)
    {
        try {
            return static::toConstant($item);
        } catch (\Exception $_ex) {
            //  Ignored...
        }

        try {
            return static::toValue($item);
        } catch (\Exception $_ex) {
            //  Ignored...
        }

        //  Sorry charlie...
        throw new \InvalidArgumentException('The item "' . $item . '" can not be resolved.');
    }
public static function resolve ( $ item ) { try { return static :: toConstant ( $ item ) ; } catch ( \ Exception $ _ex ) { //  Ignored... } try { return static :: toValue ( $ item ) ; } catch ( \ Exception $ _ex ) { //  Ignored... } //  Sorry charlie... throw new \ InvalidArgumentException ( 'The item "' . $ item . '" can not be resolved.' ) ; }
Given a CONSTANT or VALUE, return the VALUE

@param string|int $item

@return mixed
Given a CONSTANT or VALUE return the VALUE