src/Form/SharpForm.php
function instance($id): array
    {
        return collect($this->find($id))
            // Filter model attributes on actual form fields
            ->only($this->getDataKeys())
            ->all();
    }
function instance($id): array
    {
        return collect($this->find($id))
            // Filter model attributes on actual form fields
            ->only($this->getDataKeys())
            ->all();
    }
function instance ( $ id ) : array { return collect ( $ this -> find ( $ id ) ) // Filter model attributes on actual form fields -> only ( $ this -> getDataKeys ( ) ) -> all ( ) ; }
Return the entity instance, as an array.

@param $id
@return array
Return the entity instance as an array .