public function entityFrom(IEntitySet $entities) : ObjectFieldBuilder
    {
        return new ObjectFieldBuilder(
            $this->type(new ObjectIdType(new EntityIdOptions($entities), $loadAsObjects = true))
        );
    }
public function entityFrom(IEntitySet $entities) : ObjectFieldBuilder
    {
        return new ObjectFieldBuilder(
            $this->type(new ObjectIdType(new EntityIdOptions($entities), $loadAsObjects = true))
        );
    }
public function entityFrom ( IEntitySet $ entities ) : ObjectFieldBuilder { return new ObjectFieldBuilder ( $ this -> type ( new ObjectIdType ( new EntityIdOptions ( $ entities ) , $ loadAsObjects = true ) ) ) ; }
Validates the input as a entity id that will load
the entity object instance.

@param IEntitySet $entities

@return ObjectFieldBuilder
Validates the input as a entity id that will load the entity object instance .