src/Http/JsonResponse.php
public function errors($errors = null) {
        if(is_null($errors)) {
            return $this->errors;
        }
        $this->errors = $errors;
    }
public function errors($errors = null) {
        if(is_null($errors)) {
            return $this->errors;
        }
        $this->errors = $errors;
    }
public function errors ( $ errors = null ) { if ( is_null ( $ errors ) ) { return $ this -> errors ; } $ this -> errors = $ errors ; }
Get or Set 'errors' attribute
@param null $errors
@return array
Get or Set errors attribute