<?php file_exists(string $filename): bool
<?php private function defaultDraftFile() { return file_exists('draft.yml') ? 'draft.yml' : 'draft.yaml'; } }
<?php { return function ($path) { if (!isset($this->stubs[$path])) { $stubPath = file_exists($customPath = CUSTOM_STUBS_PATH . '/' . $path) ? $customPath : STUBS_PATH . '/' . $path; $this->stubs[$path] = $this->get($stubPath);