Автор: Dave Olsen, http://dmolsen.com
Автор: Thomas Müller (t_mueller_stolzenhain@yahoo.de)
Наследование: extends Symfony\Component\Console\Command\Command
Пример #1
0
 /**
  * Sets up the fixture, for example, open a network connection.
  * This method is called before a test is executed.
  */
 public function setUp()
 {
     $cacheAdapter = new Memory();
     $cache = new BrowscapCache($cacheAdapter);
     $this->object = new UpdateCommand('');
     $this->object->setCache($cache);
 }