Skip to content

Commit

Permalink
dsadas
Browse files Browse the repository at this point in the history
  • Loading branch information
jefyokta committed Jan 7, 2025
1 parent cd4f1a6 commit 304f80b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Types/BladeConfig.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
<?php

/**
* Oktaax - Real-time Websocket and HTTP Server using Swoole
*
Expand Down Expand Up @@ -33,13 +34,13 @@
* SOFTWARE.
*
*/



namespace Oktaax\Types;

class BladeConfig
{

public function __construct(public $viewDir, public ?string $cacheDir, public ?string $functionDir) {}
public function __construct(public $viewDir = 'views/', public ?string $cacheDir = $this->viewDir . "/cache", public ?string $functionDir = null) {}
};

0 comments on commit 304f80b

Please sign in to comment.