protected static function getLookupIterator($value)
    {
        return is_callable($value) ? $value : function ($object) use ($value) {
            return static::get($object, $value);
        };
    }
protected static function getLookupIterator($value)
    {
        return is_callable($value) ? $value : function ($object) use ($value) {
            return static::get($object, $value);
        };
    }
protected static function getLookupIterator ( $ value ) { return is_callable ( $ value ) ? $ value : function ( $ object ) use ( $ value ) { return static :: get ( $ object , $ value ) ; } ; }
An internal function to generate lookup iterators.

@category Internal Functions

@param mixed $value the value to iterate with

@return mixed,closure
An internal function to generate lookup iterators .