setUp() public method

public setUp ( )
 /**
  *
  */
 public function setUp()
 {
     parent::setUp();
     $this->path = realpath(__DIR__ . '/..') . '/_Dir';
     $this->paths = ['DIR_A' => '/DIR_A', 'DIR_B' => '/DIR_B', 'DIR_C' => '/DIR_B/DIR_C', 'DIR_D' => '/DIR_D', 'FILE_A' => '/FILE_A', 'FILE_B' => '/FILE_B.txt', 'FILE_C' => '/DIR_A/FILE_C', 'FILE_D' => 'FILE_D', 'NULL' => '/NULL', 'DIR_NULL' => '/DIR_NULL', 'FILE_NULL' => '/FILE_NULL'];
     $this->createDirStructure();
 }
示例#2
0
 /**
  *
  */
 public function setUp()
 {
     parent::setUp();
     $this->name = 'app';
     $this->messagePattern = "[%datetime% %level_name%.%channel%][%context.A%,%context.B%]%extra% %message%\n";
     $this->datePattern = 'Y-m-d H:i:s';
     $this->rootPath = __DIR__ . '/_Log';
     $this->filePattern = __DIR__ . '/_Log/%level%/app.%date%.log';
     $this->createDirStructure();
 }
示例#3
0
 public function setUp()
 {
     parent::setUp();
     usleep(100000.0);
 }
示例#4
0
 /**
  *
  */
 public function setUp()
 {
     parent::setUp();
     $this->path = __DIR__ . '/_Dir/.env';
 }