Skip to content

Commit

Permalink
php opening tags for syntax highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
maerlyn committed Feb 29, 2012
1 parent eac632e commit cb1fc6d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions proposed/PSR-Cache.md
Expand Up @@ -55,6 +55,7 @@ The main focus of the Cache\Pool object is to accept a key from the Calling Libr
Items can be retrieved from the Cache\Pool individually using the getCache function, or in groups by retrieving an Iterator object from the getCacheIterator function.

```php
<?php
namespace PSR\Cache;

/**
Expand Down Expand Up @@ -103,6 +104,7 @@ interface Pool
The Cache\Item object encapsulates the storage and retrieval of cache items. Each Cache\Item is generated by a Cache\Pool, which is responsible for any required setup as well as associating the object with a unique Key (how this is accomplished is the responsibility of the Implementing Library). Cache\Item objects can store and retrieve any type of PHP value defined in the Data section of this document.

```php
<?php
namespace PSR\Cache;

/**
Expand Down Expand Up @@ -206,6 +208,7 @@ Stacks are a special kind of grouping system that allow cache items to be nested
#### StackablePool

```php
<?php
namespace PSR\Cache\Extensions;

/**
Expand All @@ -226,6 +229,7 @@ interface StackablePool extends \PSR\Cache\Pool
#### StackableItem

```php
<?php
namespace PSR\Cache\Extensions;

/**
Expand All @@ -251,6 +255,7 @@ Tagging interfaces are provided for completeness, but developers should note the
#### Cache\Extensions\TaggablePool

```php
<?php
namespace PSR\Cache\Extensions;

/**
Expand All @@ -276,6 +281,7 @@ interface TaggablePool extends \PSR\Cache\Pool
#### Cache\Extensions\TaggableItem

```php
<?php
namespace PSR\Cache\Extensions;

/**
Expand Down

0 comments on commit cb1fc6d

Please sign in to comment.