public function __construct() { $path = $this->config('path'); if (!\File::isDirectory($path)) { \File::makeDirectory($path, 0777, true); } }