public function getYorm() { if (!$this->yorm) { $this->yorm = \Bytepoets\Yorm\Yorm::fromFile(static::getYamlFilePath(), app()->make(\Illuminate\Translation\Translator::class)); } return $this->yorm; }
/** * 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)); }