This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if (! function_exists('mix')) { | |
/** | |
* Get the path to a versioned Mix file. | |
* | |
* @param string $path | |
* @return \Illuminate\Support\HtmlString|string | |
* | |
* @throws \Exception |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Change PHP version | |
php-v () { | |
if [[ $1 -eq '' ]] | |
then | |
version="8.1" # default php version | |
else | |
version="$1" | |
fi | |
# kill all php-fpm processes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App; | |
class InvadeProxy | |
{ | |
public function __construct( | |
public $target, | |
) {} |