| 1 | <?php |
||
| 12 | class LaravelMessageService |
||
| 13 | { |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var bool |
||
| 17 | */ |
||
| 18 | static $runsMigrations = true; |
||
|
|
|||
| 19 | |||
| 20 | /** |
||
| 21 | * @return bool |
||
| 22 | */ |
||
| 23 | public function runsMigrations() |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Configure Package to not register its migrations. |
||
| 31 | * |
||
| 32 | * @return static |
||
| 33 | */ |
||
| 34 | public static function ignoreMigrations() |
||
| 40 | |||
| 41 | } |
The PSR-2 coding standard requires that all properties in a class have their visibility explicitly declared. If you declare a property using
the property is implicitly global.
To learn more about the PSR-2, please see the PHP-FIG site on the PSR-2.