public function objectFromIndex(IObjectSetWithIdentityByIndex $objects) : ObjectFieldBuilder
    {
        return new ObjectFieldBuilder(
            $this->type(new ObjectIdType(new ObjectIndexOptions($objects), $loadAsObjects = true))
        );
    }
public function objectFromIndex(IObjectSetWithIdentityByIndex $objects) : ObjectFieldBuilder
    {
        return new ObjectFieldBuilder(
            $this->type(new ObjectIdType(new ObjectIndexOptions($objects), $loadAsObjects = true))
        );
    }
public function objectFromIndex ( IObjectSetWithIdentityByIndex $ objects ) : ObjectFieldBuilder { return new ObjectFieldBuilder ( $ this -> type ( new ObjectIdType ( new ObjectIndexOptions ( $ objects ) , $ loadAsObjects = true ) ) ) ; }
Validates the input as the index of an object and will load
the object instance at the index.

@param IObjectSetWithIdentityByIndex $objects

@return ObjectFieldBuilder
Validates the input as the index of an object and will load the object instance at the index .