League\FactoryMuffin\Stores\StoreInterface::isSaved PHP Метод

isSaved() публичный Метод

Is the model saved?
public isSaved ( object $model ) : boolean
$model object The model instance.
Результат boolean
    public function isSaved($model);

Usage Example

Пример #1
0
 /**
  * Is the object saved or will be saved?
  *
  * @param object $model The model instance.
  *
  * @return bool
  */
 public function isPendingOrSaved($model)
 {
     return $this->store->isSaved($model) || $this->store->isPending($model);
 }