public function create(array $data): PodiumResponse
    {
        /* @var $groupForm ModelFormInterface */
        $groupForm = $this->getForm();

        if (!$groupForm->loadData($data)) {
            return PodiumResponse::error();
        }

        return $groupForm->create();
    }
public function create(array $data): PodiumResponse
    {
        /* @var $groupForm ModelFormInterface */
        $groupForm = $this->getForm();

        if (!$groupForm->loadData($data)) {
            return PodiumResponse::error();
        }

        return $groupForm->create();
    }
public function create ( array $ data ) : PodiumResponse { /* @var $groupForm ModelFormInterface */ $ groupForm = $ this -> getForm ( ) ; if ( ! $ groupForm -> loadData ( $ data ) ) { return PodiumResponse :: error ( ) ; } return $ groupForm -> create ( ) ; }
Creates group.
@param array $data
@return PodiumResponse
Creates group .