protected function getFieldTypes()
    {
        return (new Collection($this->getFields()))
            ->map(function ($options) {
                return $options['type'];
            })
            ->values()
            ->unique()
            ->map(function ($type) {
                return self::$types[$type];
            });
    }
protected function getFieldTypes()
    {
        return (new Collection($this->getFields()))
            ->map(function ($options) {
                return $options['type'];
            })
            ->values()
            ->unique()
            ->map(function ($type) {
                return self::$types[$type];
            });
    }
protected function getFieldTypes ( ) { return ( new Collection ( $ this -> getFields ( ) ) ) -> map ( function ( $ options ) { return $ options [ 'type' ] ; } ) -> values ( ) -> unique ( ) -> map ( function ( $ type ) { return self :: $ types [ $ type ] ; } ) ; }
Get all field types in this Entity.

@return Collection
Get all field types in this Entity .