public function makeSchema(): array
    {
        return [
            Filter::SH_MAP       => $this->buildMap($this->entity),
            Filter::SH_VALIDATES => $this->entity->getProperty('validates', true) ?? [],
            Filter::SH_SECURED   => $this->entity->getSecured(),
            Filter::SH_FILLABLE  => $this->entity->getFillable(),
            Filter::SH_MUTATORS  => $this->entity->getMutators(),
        ];
    }
public function makeSchema(): array
    {
        return [
            Filter::SH_MAP       => $this->buildMap($this->entity),
            Filter::SH_VALIDATES => $this->entity->getProperty('validates', true) ?? [],
            Filter::SH_SECURED   => $this->entity->getSecured(),
            Filter::SH_FILLABLE  => $this->entity->getFillable(),
            Filter::SH_MUTATORS  => $this->entity->getMutators(),
        ];
    }
public function makeSchema ( ) : array { return [ Filter :: SH_MAP => $ this -> buildMap ( $ this -> entity ) , Filter :: SH_VALIDATES => $ this -> entity -> getProperty ( 'validates' , true ) ?? [ ] , Filter :: SH_SECURED => $ this -> entity -> getSecured ( ) , Filter :: SH_FILLABLE => $ this -> entity -> getFillable ( ) , Filter :: SH_MUTATORS => $ this -> entity -> getMutators ( ) , ] ; }
Generate entity schema based on schema definitions.

@return array

@throws SchemaException
Generate entity schema based on schema definitions .