refactoring routing and comments.

This commit is contained in:
Taylor Otwell
2011-10-15 14:04:11 -05:00
parent a44ca9d53b
commit a6eaa06981
20 changed files with 368 additions and 265 deletions

View File

@@ -57,8 +57,8 @@ abstract class Driver {
abstract public function put($key, $value, $minutes);
/**
* Get an item from the cache. If the item doesn't exist in the cache, store
* the default value in the cache and return it.
* Get an item from the cache. If the item doesn't exist in the
* cache, store the default value in the cache and return it.
*
* <code>
* // Get an item from the cache, or cache a value for 15 minutes if it doesn't exist

View File

@@ -1,4 +1,4 @@
<?php namespace Laravel\Cache\Drivers; use Laravel\Config, Memcache;
<?php namespace Laravel\Cache\Drivers; use Memcache, Laravel\Config;
class Memcached extends Driver {

View File

@@ -12,8 +12,8 @@ class Manager {
/**
* Get a cache driver instance.
*
* If no driver name is specified, the default cache driver will be returned
* as defined in the cache configuration file.
* If no driver name is specified, the default cache driver will be
* returned as defined in the cache configuration file.
*
* <code>
* // Get the default cache driver instance
@@ -46,8 +46,8 @@ class Manager {
/**
* Pass all other methods to the default cache driver.
*
* Passing method calls to the driver instance provides a convenient API for the developer
* when always using the default cache driver.
* Passing method calls to the driver instance provides a convenient API
* for the developer when always using the default cache driver.
*
* <code>
* // Call the "get" method on the default driver