ManaPHP\Counter\AdapterInterface::get PHP Method

get() public method

public get ( string $type, string $id ) : integer
$type string
$id string
return integer
    public function get($type, $id);

Usage Example

Beispiel #1
0
 /**
  *
  * @param string $type
  * @param string $id
  *
  * @return int
  */
 public function get($type, $id)
 {
     return $this->adapter->get($this->_prefix . $type, $id);
 }