public function toArray()
    {
        return
            [
            'fields' => $this->getFieldsToArray(),
            'relations' => $this->getRelationsToArray(),
            'indexes' => $this->getIndexesToArray(),
            'auto-manage-created-and-updated-at' => $this->isCreateAndUpdateAtManaged(),
            'table-name' => $this->getTableName(),
            'protection' => $this->getRawProtections(),
        ];
    }
public function toArray()
    {
        return
            [
            'fields' => $this->getFieldsToArray(),
            'relations' => $this->getRelationsToArray(),
            'indexes' => $this->getIndexesToArray(),
            'auto-manage-created-and-updated-at' => $this->isCreateAndUpdateAtManaged(),
            'table-name' => $this->getTableName(),
            'protection' => $this->getRawProtections(),
        ];
    }
public function toArray ( ) { return [ 'fields' => $ this -> getFieldsToArray ( ) , 'relations' => $ this -> getRelationsToArray ( ) , 'indexes' => $ this -> getIndexesToArray ( ) , 'auto-manage-created-and-updated-at' => $ this -> isCreateAndUpdateAtManaged ( ) , 'table-name' => $ this -> getTableName ( ) , 'protection' => $ this -> getRawProtections ( ) , ] ; }
Converts the object into a json-ready array

@return array
Converts the object into a json - ready array