public function entityIdsFrom(IEntitySet $entities) : ObjectArrayFieldBuilder
    {
        return (new ObjectArrayFieldBuilder($this
            ->type(new ArrayOfObjectIdsType(
                $entities,
                Field::element()->entityIdFrom($entities)->required()->build()
            ))
        ))->containsNoDuplicates();
    }
public function entityIdsFrom(IEntitySet $entities) : ObjectArrayFieldBuilder
    {
        return (new ObjectArrayFieldBuilder($this
            ->type(new ArrayOfObjectIdsType(
                $entities,
                Field::element()->entityIdFrom($entities)->required()->build()
            ))
        ))->containsNoDuplicates();
    }
public function entityIdsFrom ( IEntitySet $ entities ) : ObjectArrayFieldBuilder { return ( new ObjectArrayFieldBuilder ( $ this -> type ( new ArrayOfObjectIdsType ( $ entities , Field :: element ( ) -> entityIdFrom ( $ entities ) -> required ( ) -> build ( ) ) ) ) ) -> containsNoDuplicates ( ) ; }
Validates the input as an array of entity ids.

@param IEntitySet $entities

@return ObjectArrayFieldBuilder
Validates the input as an array of entity ids .