src/Form/SharpForm.php
public function newInstance()
    {
        $data = collect($this->create())
            // Filter model attributes on actual form fields
            ->only($this->getDataKeys())
            ->all();

        return sizeof($data) ? $data : null;
    }
public function newInstance()
    {
        $data = collect($this->create())
            // Filter model attributes on actual form fields
            ->only($this->getDataKeys())
            ->all();

        return sizeof($data) ? $data : null;
    }
public function newInstance ( ) { $ data = collect ( $ this -> create ( ) ) // Filter model attributes on actual form fields -> only ( $ this -> getDataKeys ( ) ) -> all ( ) ; return sizeof ( $ data ) ? $ data : null ; }
Return a new entity instance, as an array.

@return array
Return a new entity instance as an array .