%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/o91-api/app/Exceptions/
Upload File :
Create Path :
Current File : /var/www/html/o91-api/app/Exceptions/ItemNotFound.php

<?php

namespace App\Exceptions;


class ItemNotFound extends ApiException
{
    private $validator;

    /**
     * CustomValidationException constructor.
     *
     * @param $validator
     */
    public function __construct($validator)
    {
        $this->validator = $validator;
    }

    public function render()
    {
        return $this->response()
                    ->notFound([
                                   'message' => "Item not found.",
                               ]);
    }

}

Zerion Mini Shell 1.0