public function process(array $input)
    {
        try
        {
            $success = $this->v->validate($input);
        }
        catch(ValidationException $e)
        {
            $this->setErrorsAndThrowException();
        }
        if( ! $success)
        {
            $this->setErrorsAndThrowException();
        }

        Event::fire("form.processing", array($input));
        return $this->callRepository($input);
    }
public function process(array $input)
    {
        try
        {
            $success = $this->v->validate($input);
        }
        catch(ValidationException $e)
        {
            $this->setErrorsAndThrowException();
        }
        if( ! $success)
        {
            $this->setErrorsAndThrowException();
        }

        Event::fire("form.processing", array($input));
        return $this->callRepository($input);
    }
public function process ( array $ input ) { try { $ success = $ this -> v -> validate ( $ input ) ; } catch ( ValidationException $ e ) { $ this -> setErrorsAndThrowException ( ) ; } if ( ! $ success ) { $ this -> setErrorsAndThrowException ( ) ; } Event :: fire ( "form.processing" , array ( $ input ) ) ; return $ this -> callRepository ( $ input ) ; }
Processa l'input e chiama create o opdate a seconda
@param array $input
@throws \Palmabit\Library\Exceptions\PalmabitExceptionsInterface
Processa l input e chiama create o opdate a seconda