[fire description]
@return [type] [description]
518188
public function fire()
	{
		$name = $this->option( 'name' );
		if( is_null( $name ) ) {
			return $this->error( 'no name entered (artisan ensphere:make contract --name="my contract name"' );
		}
		switch( $this->argument( 'make_command' ) ) {
			case 'contract' :
				(new ContractCommand)->make( $this->option( 'name' ) );
			break;
			case 'controller' :
				(new ControllerCommand)->make( $this->option( 'name' ) );
			break;
		}
	}
1342042
public function getDescription() : ?string 
    {
        if ( ! $this->hasDescription()) {
            $this->setDescription($this->getDefaultDescription());
        }
        return $this->description;
    }
1275697
public function renderPage()
    {
        $contents = $this->pageContents;

        /**
         * @event cms.page.render
         * Provides an oportunity to manipulate the page's rendered contents
         *
         * Example usage:
         *
         *     Event::listen('cms.page.render', function ((\Cms\Classes\Controller) $controller, (string) $pageContents) {
         *         return 'My custom contents';
         *     });
         *
         * Or
         *
         *     $CmsController->bindEvent('page.render', function ((string) $pageContents) {
         *         return 'My custom contents';
         *     });
         *
         */
        if ($event = $this->fireSystemEvent('cms.page.render', [$contents])) {
            return $event;
        }

        return $contents;
    }
1021790
protected function fires()
    {
        $className = isset($this->notification->classname) ? snake_case(class_basename($this->notification->classname)) : false;

        if (! $className) {
            return [];
        }

        $before = event('notifications:' . $className . '.render.before');
        $after  = event('notifications:' . $className . '.render.after');

        return [
            'before' => !empty($before) ? current($before) : '',
            'after'  => !empty($after) ? current($after) : ''
        ];
    }
1194070
public function fire()
    {
        $key = Str::random(32);

        if ($this->option('show')) {
            $this->comment($key);

            return;
        }

        if (file_exists($path = $this->envPath()) === false) {
            return $this->displayKey($key);
        }

        // check if there is already a secret set first
        if (Str::contains(file_get_contents($path), 'JWT_SECRET') === false) {
            return file_put_contents($path, PHP_EOL."JWT_SECRET=$key", FILE_APPEND);
        } elseif ($this->isConfirmed() === false) {
            $this->comment('Phew... No changes were made to your secret key.');

            return;
        }

        file_put_contents($path, str_replace(
            'JWT_SECRET='.$this->laravel['config']['jwt.secret'],
            'JWT_SECRET='.$key, file_get_contents($path)
        ));

        $this->displayKey($key);
    }
432058
public function execute()
    {
        $this->dispatcher->fire(self::EVENT_BEFORE, $this->instance);

        $this->builder->execute();

        $this->dispatcher->fire(self::EVENT_AFTER, $this->instance);

        foreach ($this->relations as $relation) {
            $relation->write($this->instance);
        }

        return $this->instance;
    }
429470
protected function generateOutput() {
        $flashMessages = [];
        foreach ($this->messages as $messageItem) {
            /** @var \TYPO3\CMS\Core\Messaging\FlashMessage $flashMessage */
            $flashMessages[] = GeneralUtility::makeInstance(FlashMessage::class, $messageItem[2], $messageItem[1], $messageItem[0]);
        }

            /** @var $resolver FlashMessageRendererResolver */
        $resolver = GeneralUtility::makeInstance(FlashMessageRendererResolver::class);
        $renderer = $resolver->resolve();
        return $renderer->render($flashMessages);
    }
1211675
public function fire()
	{
		$first_name = $this->argument('first_name');
		$last_name = $this->argument('last_name');
		$email = $this->argument('email');
		$password = $this->argument('password');

		if ($this->userRepo->create($first_name, $last_name, $email, true, $password)) {
			$this->info('User Created Successfully');
			return;
		} else {
			return $this->error('User Could Not Be Created');
		}
	}
911406
protected function getFlashes()
    {
        /* @var $session \yii\web\Session */
        $session = Yii::$app->has('session', true) ? Yii::$app->get('session') : null;
        if ($session === null || !$session->getIsActive()) {
            return [];
        }

        $counters = $session->get($session->flashParam, []);
        $flashes = [];
        foreach (array_keys($counters) as $key) {
            if (array_key_exists($key, $_SESSION)) {
                $flashes[$key] = $_SESSION[$key];
            }
        }
        return $flashes;
    }
133402
public function describe()
    {
        var_dump($this);
        var_dump($this->type);

        return $this->id . ' - ' . $this->type . ' - ' . $this->actor->login;
    }
512313
public function get()
    {
        $result = $this->getFromFireBase();

        $data = $this->addHeadersIfEmpty($result);

        return $this->makeCollection($data);
    }
646045
public function toNextFlash() {
		if (!$this->started) {
			return $this;
		}

		$_SESSION[$this->flashSessionKey] =
			isset($_SESSION[$this->nextFlashSessionKey])
			? $_SESSION[$this->nextFlashSessionKey]
			: [];
		$_SESSION[$this->nextFlashSessionKey] = [];

		return $this;
	}
1211640
protected function getDescription()
    {
        // this just allows the controller to overide the description
        if (strlen($this->description) <= 5) {
            $this->description = $this->page['description'];
        }

        return trim($this->description . (strlen($this->description) < 2 ? '' : ' | ') . config('app.description'));
    }
347052
protected function getFlashes()
    {
        $session = Yii::$app->session;
        $flashes = $session->getAllFlashes();
        $options = ArrayHelper::merge($this->layer->getDefaultOptions(), $this->options);
        $result = [];

        foreach ($flashes as $type => $data) {
            if (!in_array($type, $this->layer->types)) {
                continue;
            }
            $data = (array)$data;
            foreach ($data as $i => $message) {

                $this->layer->setType($type);
                $this->layer->setTitle();
                $this->layer->setMessage($message);

                $result[] = $this->layer->getNotification($options);
            }

            $session->removeFlash($type);
        }

        if ($this->isAjax) {
            return Html::tag('script', implode("\n", $result));
        }

        return $this->view->registerJs(implode("\n", $result));
    }
1241555
def fire_action_event
      if header_row?
        if @table_row_sorter
          x = _convert_curpos_to_column
          c = @chash[x]
          # convert to index in data model since sorter only has data_model
          index = c.index
          @table_row_sorter.toggle_sort_order index
          @table_row_sorter.sort
          fire_dimension_changed
        end
      end
      super
    end
924509
public function generateData()
    {
        foreach ($this->fireMethods as $method) {
            $this->log(
                "Calling function \"{$method}\": Actual memory usage before method: " .
                $this->getMemoryUsageString(),
                ShopgateLogger::LOGTYPE_DEBUG
            );
            $this->{$method}();
        }

        return $this;
    }
910489
public function GenerateDescription()
    {
        if ($this->owner->MetaDescription) {
            return $this->owner->MetaDescription;
        } else {
            return $this->owner->GenerateDescriptionFromContent();
        }
    }