Airship\Cabin\Bridge\Landing\Notary::airshipLand PHP Method

airshipLand() public method

This function is called after the dependencies have been injected by AutoPilot. Think of it as a user-land constructor.
public airshipLand ( )
    public function airshipLand()
    {
        parent::airshipLand();
        $config = State::instance();
        if (empty($config->universal['notary']['enabled'])) {
            \Airship\json_response(['status' => 'error', 'message' => 'This Airship does not offer Notary services.']);
        }
        $this->sk = $config->keyring['notary.online_signing_key'];
        $this->pk = $this->sk->derivePublicKey();
        $this->channel = $config->universal['notary']['channel'];
        $this->chanUp = $this->blueprint('ChannelUpdates', $this->channel);
    }