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

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

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

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

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