Show
Ignore:
Timestamp:
02/08/07 21:57:53 (2 years ago)
Author:
mikey
Message:

added integration tests using the existing examples

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/examples/MyCollector.php

    r53 r89  
    2020     * @var  array<MyInterface> 
    2121     */ 
    22         private $bar = array(); 
    23      
    24         /** 
    25          * set bar 
    26          * 
    27          * @param  MyInterface  $bar 
    28          */ 
    29         public function addBar(MyInterface $bar) 
    30         { 
    31                 $this->bar[] = $bar; 
    32         } 
     22    private $bar = array(); 
     23 
     24    /** 
     25     * set bar 
     26     * 
     27     * @param  MyInterface  $bar 
     28     */ 
     29    public function addBar(MyInterface $bar) 
     30    { 
     31        $this->bar[] = $bar; 
     32    } 
     33 
     34    public function getBar() 
     35    { 
     36        return $this->bar; 
     37    } 
    3338} 
    3439?>