protected function register()
    {
        $app = $this->config->app;

        $crypt = new \Phalcon\Crypt($app->cipher);

        $crypt->setKey($app->key);

        return $crypt;
    }
protected function register()
    {
        $app = $this->config->app;

        $crypt = new \Phalcon\Crypt($app->cipher);

        $crypt->setKey($app->key);

        return $crypt;
    }
protected function register ( ) { $ app = $ this -> config -> app ; $ crypt = new \ Phalcon \ Crypt ( $ app -> cipher ) ; $ crypt -> setKey ( $ app -> key ) ; return $ crypt ; }
Return the service to register

Called when the services container tries to resolve the service

@return mixed
Return the service to register