Beispiel #1
0
 public function getYorm()
 {
     if (!$this->yorm) {
         $this->yorm = \Bytepoets\Yorm\Yorm::fromFile(static::getYamlFilePath(), app()->make(\Illuminate\Translation\Translator::class));
     }
     return $this->yorm;
 }
Beispiel #2
0
 /**
  * Setup the test environment.
  */
 public function setUp()
 {
     parent::setUp();
     $this->yorm = \Bytepoets\Yorm\Yorm::fromFile(getcwd() . '/tests/fixtures/testwithsections.yml', app()->make(\Illuminate\Translation\Translator::class));
 }