Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/mcoil.corals.io/app/Shop/Blogs/Repositories/Interfaces/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/mcoil.corals.io/app/Shop/Blogs/Repositories/Interfaces/BlogRepositoryInterface.php
<?php

namespace App\Shop\Blogs\Repositories\Interfaces;

use App\Shop\Blogs\Blog;
use Illuminate\Support\Collection;
use Jsdecena\Baserepo\BaseRepositoryInterface;
use Illuminate\Http\UploadedFile;

interface BlogRepositoryInterface extends BaseRepositoryInterface
{
    public function listBlogs(string $order = 'id', string $sort = 'desc', $except = []) : Collection;

    public function createBlog(array $params) : Blog;

    public function updateBlog(array $params) : Blog;

    public function findBlogById(int $id) : Blog;
    
    public function deleteBlog() : bool;

    public function saveImage(UploadedFile $file) : string;

    public function deleteImage($field = 'imageOne') : bool;
}

Spamworldpro Mini