public function getStubPath() { if ($this->stubPath !== null) { return $this->stubPath; } if ($this->config('stubs.enabled') === true) { return $this->config('stubs.path'); } return $this->stubPath; }
/** @test */ public function it_returns_default_stub_path() { $this->assertNull($this->repository->getStubPath()); }