mirror of
https://github.com/filegator/filegator.git
synced 2025-08-13 18:54:45 +02:00
Website generation with Couscous
This commit is contained in:
@@ -145,7 +145,7 @@
|
||||
'download',
|
||||
],
|
||||
],</code></pre>
|
||||
<p>As you can in the example, you can assign required user roles and permissions for each route.</p>
|
||||
<p>As you can see in the example, you can assign required user roles and permissions for each route.</p>
|
||||
<h2 id="controllers">Controllers</h2>
|
||||
<p>Since FileGator is using an awesome dependency injection <a href="https://github.com/PHP-DI/PHP-DI">container</a> you can type-hint dependencies directly in your controllers. </p>
|
||||
<p>You can also mix route parameters and dependencies in any order like in this example:</p>
|
||||
|
Reference in New Issue
Block a user