public function isValid()
    {
        $this->applyFilters();

        $this->validationMessage = null;

        foreach ($this->validators as $validator) {
            if (!$validator->isValid($this->translations)) {
                $this->validationMessage = $validator->getMessage();
                return false;
            }
        }

        return true;
    }
public function isValid()
    {
        $this->applyFilters();

        $this->validationMessage = null;

        foreach ($this->validators as $validator) {
            if (!$validator->isValid($this->translations)) {
                $this->validationMessage = $validator->getMessage();
                return false;
            }
        }

        return true;
    }
public function isValid ( ) { $ this -> applyFilters ( ) ; $ this -> validationMessage = null ; foreach ( $ this -> validators as $ validator ) { if ( ! $ validator -> isValid ( $ this -> translations ) ) { $ this -> validationMessage = $ validator -> getMessage ( ) ; return false ; } } return true ; }
Returns if translations are valid to save or not

@return bool
Returns if translations are valid to save or not