This repository was archived by the owner on Jan 5, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88use Modulus \Support \Exceptions \UnknownStorageException ;
99use Modulus \Support \Exceptions \StorageUnusableException ;
1010
11- class File
11+ final class File
1212{
1313 use Extendable;
1414
Original file line number Diff line number Diff line change 44
55use Modulus \Support \Extendable ;
66
7- class Filesystem
7+ final class Filesystem
88{
99 use Extendable;
1010
Original file line number Diff line number Diff line change 11MIT License
22
3- Copyright (c) 2018 Donald Pakkies
3+ Copyright (c) 2019 Donald Pakkies
44
55Permission is hereby granted, free of charge, to any person obtaining a copy
66of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 11# Modulus Support Component
22
33This package contains helper functions, and the Modulus File System.
4+
5+ Install
6+ -------
7+
8+ This package is automatically installed with the Modulus Framework.
9+
10+ ```
11+ composer require modulusphp/support
12+ ```
13+
14+ Security
15+ -------
16+
17+ If you discover any security related issues, please email donaldpakkies@gmail.com instead of using the issue tracker.
18+
19+ License
20+ -------
21+
22+ The MIT License (MIT). Please see [ License File] ( LICENSE ) for more information.
Original file line number Diff line number Diff line change 11{
22 "name" : " modulusphp/support" ,
33 "description" : " Support component for Modulus" ,
4- "version" : " 1.9.4.0 " ,
4+ "version" : " 1.9.4.1 " ,
55 "license" : " MIT" ,
66 "type" : " package" ,
77 "authors" : [{
Original file line number Diff line number Diff line change 1515use Modulus \Utility \Command ;
1616use Modulus \Utility \Process ;
1717use Modulus \Support \Shortcut ;
18+ use Modulus \Utility \Variable ;
1819use Modulus \Http \UrlGenerator ;
1920use Modulus \Utility \Notification ;
2021use AtlantisPHP \Telemonlog \Output ;
@@ -329,10 +330,11 @@ function get($name) {
329330 * Check if variables exists
330331 *
331332 * @param string $name
333+ * @param null|string $syntax
332334 * @return bool
333335 */
334- function has ($ name ) {
335- return Variable::has ($ name );
336+ function has ($ name, ? string $ syntax = null ) {
337+ return Variable::has ($ name, $ syntax );
336338 }
337339}
338340
You can’t perform that action at this time.
0 commit comments