define
laravel/framework
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Defines a named constant
define
(
string $constant_name
,
mixed $value
,
bool $case_insensitive
=
false
):
bool
public function
__construct
(
Application $app
,
Dispatcher $events
)
{
if (!
defined
(
'ARTISAN_BINARY'
)) {
define
(
'ARTISAN_BINARY'
,
'artisan'
);
}
$this
->
app
=
$app
;
src/Illuminate/Foundation/Console/Kernel.php