bootRemember

@return void
169396
public function bootRemember()
  {
    Remember::$tokensDir = config('app.dir') . 'storage' . DIRECTORY_SEPARATOR . 'framework' . DIRECTORY_SEPARATOR . 'sessions';
    Remember::$expire = config('auth.expire.remember_token');

    (new Remember)->boot();
  }
360269
protected static function bootTraits()
    {
        $segment = Request::segment(1);

        if ($segment == config('bumble.admin_prefix') && self::enableTraits() == true)
        {
            parent::bootTraits();
        }
        elseif ($segment !== config('bumble.admin_prefix'))
        {
            parent::bootTraits();
        }

        // Boot soft-delete trait all the time
        if (method_exists(get_called_class(), $method = 'bootSoftDeletes'))
        {
            forward_static_call([get_called_class(), $method]);
        }
    }
554165
protected static function bootTraits()
    {
        foreach (Helper::classUsesRecursive(get_called_class()) as $trait) {
            if (method_exists(get_called_class(), $method = 'boot' . Helper::classBaseName($trait))) {
                forward_static_call([get_called_class(), $method]);
            }
        }
    }
1084668
public function boot()
    {
        $this->publishes([
            __DIR__.'/../config/pagination.php' => config_path('pagination.php'),
        ], 'pagination');

        $this->mergeConfigFrom(__DIR__.'/../config/pagination.php', 'pagination');

        Request::macro('paginationCount', function ($key = null) {
            $defaultCount = config('pagination.defaultCount');
            $maximumCount = config('pagination.maximumCount');
            $paginationKey = $key ?? config('pagination.key');

            return min(
                intval($this->query($paginationKey, $defaultCount)),
                $maximumCount
            );
        });
    }
618276
protected function bootNewApplication()
    {
        $memory = $this->app->make('antares.memory')->make('runtime.antares');
        $memory->put('site.name', 'Antares');

        $this->menu()->add('install')
                ->link($this->handles('antares::install'));

        $this->app['antares.installed'] = false;
        return $memory;
    }
651999
public function boot()
	{
		include __DIR__.'/../../routes.php';

		// include __DIR__.'/../../helpers.php';

		$this->loadViewsFrom(__DIR__.'/../../views', 'decima-file');

		$this->loadTranslationsFrom(__DIR__.'/../../lang', 'decima-file');

		$this->publishes([
				__DIR__ . '/../../config/config.php' => config_path('file-general.php'),
		], 'config');

		$this->mergeConfigFrom(
				__DIR__ . '/../../config/config.php', 'file-general'
		);

		$this->publishes([
				__DIR__ . '/../../config/extensions.php' => config_path('file-extensions.php'),
		], 'config');

		$this->mergeConfigFrom(
				__DIR__ . '/../../config/extensions.php', 'file-extensions'
		);

		$this->publishes([
				__DIR__ . '/../../config/journal.php' => config_path('file-journal.php'),
		], 'config');

		$this->mergeConfigFrom(
				__DIR__ . '/../../config/journal.php', 'file-journal'
		);

		$this->publishes([
   				__DIR__.'/../../migrations/' => database_path('/migrations')
		], 'migrations');

		$this->registerJournalConfiguration();

		$this->registrerSecurityFileInterface();

		$this->registrerFileInterface();

		$this->registerFileManagementInterface();
	}
761907
public function boot()
	{
		if ($this->booted) return;

		array_walk($this->serviceProviders, function($p) { $p->boot(); });

		$this->bootApplication();
	}
14376
public function boot()
    {
        if ($this->app->runningInConsole()) {
            $this->loadMigrationsFrom(__DIR__.'/../database/migrations');

            $this->publishes([
                __DIR__.'/../config/uptime-monitor.php' => config_path('uptime-monitor.php'),
            ], 'config');
        }

        if (! class_exists('CreateMonitorsTable')) {
            $timestamp = date('Y_m_d_His', time());

            $this->publishes([
                __DIR__.'/../database/migrations/create_monitors_table.php.stub' => database_path('migrations/'.$timestamp.'_create_monitors_table.php'),
            ], 'migrations');
        }
    }
839901
public function boot()
    {
        $this->setFingerprint(mt_rand());

        $this->setArguments($this->getMessages());
        $this->setSingular($this->getArgument('title'));
        $this->setPlural($this->getArgument('title'));
        // $this->setValue($this->getArgument('default'));

        $this->manager->boot($this);
    }
854918
protected function boot(): void
    {
        // boot extensions
        foreach ($this->extensionManager->getExtensions() as $extension) {
            if ($extension->isActivated()) {
                $extension->boot();
            }
        }

        // boot app
        $this->dispatch(new RoutesWillBeLoaded($this->router));
        $this->dispatch(new RoutesHaveBeenLoaded($this->router));

        // send back responses
        try {
            $response = $this->router->getResponse();
            $response->send();
        } catch (RouteNotFoundException $exception) {
            throw new HttpNotFoundException();
        } catch (ResourceNotFoundException $exception) {
            throw new HttpNotFoundException();
        } catch (MethodNotAllowedException $exception) {
            throw new HttpMethodNotAllowedException();
        }
    }
178795
public function boot()
    {
        if ($this->booted) {
            return;
        }

        array_walk($this->serviceProviders, function($provider)
        {
            $this->bootProvider($provider);
        });

        $this->bootApplication();
    }
554926
protected function bootCommand()
    {
        foreach ($this->commands as $command) {
            $this->add($this->app->make($command));
        }
    }
242884
public function boot()
    {
        $app = $this->app;

        // Listen to log messages.
        $app['log']->listen(function ($level, $message, $context) use ($app) {
            $app['rollbar.handler']->log($level, $message, $context);
        });
    }
1300588
private function boot()
    {
        $messages = [];
        foreach ($this->messaging as $message) {
            $receiveMessage = new ReceiveMessage(Arr::get($message, 'recipient.id'), Arr::get($message, 'sender.id'));
            // is payload
            if (Arr::has($message, 'postback.payload') || Arr::has($message, 'message.quick_reply.payload')) {
                $receiveMessage
                    ->setMessage(Arr::get($message, 'message.text'))
                    ->setReferral(Arr::get($message, 'postback.referral', []))
                    ->setPostback(Arr::get(
                        $message,
                        'postback.payload',
                        Arr::get(
                            $message,
                            'message.quick_reply.payload'
                        )
                    ))
                    ->setPayload(true);
            } else {
                $receiveMessage
                    ->setMessage(Arr::get($message, 'message.text'))
                    ->setReferral(Arr::get($message, 'referral', []))
                    ->setSkip(
                        Arr::has($message, 'delivery') ||
                        Arr::has($message, 'message.is_echo') ||
                        (!Arr::has($message, 'message.text') && !Arr::has($message, 'message.attachments') && !Arr::has($message, 'referral'))
                    )
                    ->setAttachments(Arr::get($message, 'message.attachments', []))
                    ->setNlp(Arr::get($message, 'message.nlp', []));
            }

            $messages[] = $receiveMessage;
        }

        $this->collection = new ReceiveMessageCollection($messages);

        if ($this->filterSkip) {
            $this->collection = $this->collection->filterSkip();
        }
    }
329945
protected static function boot() {
        parent::boot();

        if (config('filer.cleanup_on_delete')) {
            static::deleting(function ($file) {
                $path = config('filer.path.absolute') . "{$file->path}/{$file->filename}";

                if (is_file($path)) {
                    unlink($path);
                }
            });
        }

        // Whenever a new model is created in the database, we add a hash
        static::creating(function ($model) {
            $model->hash = $model->generateHash();
        });
    }
1311234
public static function bootLaratrustTeamTrait()
    {
        static::deleting(function ($team) {
            if (method_exists($team, 'bootSoftDeletes') && !$team->forceDeleting) {
                return;
            }

            foreach (array_keys(Config::get('laratrust.user_models')) as $key) {
                $team->$key()->sync([]);
            }
        });
    }
97532
public static function boot()
    {
        parent::boot();

        // Delete hierarchies first.
        static::deleting(function($model)
        {
            $model->children()->detach();

            $model->parents()->detach();
        });
    }