src/Phossa2/Cache/CachePool.php
protected function driverAction(/*# string */ $action, $item)/*# : bool */
    {
        if (is_null($item)) {
            return $this->getDriver()->{$action}();
        } else {
            return $this->getDriver()->{$action}($item);
        }
    }
protected function driverAction(/*# string */ $action, $item)/*# : bool */
    {
        if (is_null($item)) {
            return $this->getDriver()->{$action}();
        } else {
            return $this->getDriver()->{$action}($item);
        }
    }
protected function driverAction ( /*# string */ $ action , $ item ) /*# : bool */ { if ( is_null ( $ item ) ) { return $ this -> getDriver ( ) -> { $ action } ( ) ; } else { return $ this -> getDriver ( ) -> { $ action } ( $ item ) ; } }
Execute an action with the driver

@param  string $action
@param  CacheItemInterface|null $item
@access protected
Execute an action with the driver