PHP Classes

File: src/Storage/StorageInterface.php

Recommend this page to a friend!
  Classes of Joseluis Laso   PHP Telegram CLI Wrapper   src/Storage/StorageInterface.php   Download  
File: src/Storage/StorageInterface.php
Role: Class source
Content type: text/plain
Description: Class source
Class: PHP Telegram CLI Wrapper
Send messages and other commands to Telegram users
Author: By
Last change:
Date: 8 years ago
Size: 429 bytes
 

Contents

Class file image Download
<?php

namespace TelegramCliWrapper\Storage;

use
TelegramCliWrapper\Models\BasicObject;

interface
StorageInterface
{
   
/**
     * @param BasicObject $obj
     * @return bool
     */
   
public function save(BasicObject $obj);
   
/**
     * @param string $id
     * @return BasicObject
     */
   
public function getById($id);
   
/**
     * @param string $id
     * @return bool
     */
   
public function remove($id);

}