public function onConstruct()
    {
        $this->userLinkedSourcesModel = new UserLinkedSources();
        $this->userModel = new Users();

        if (!isset($this->config->jwt)) {
            throw new Exception('You need to configure your app JWT');
        }
    }
public function onConstruct()
    {
        $this->userLinkedSourcesModel = new UserLinkedSources();
        $this->userModel = new Users();

        if (!isset($this->config->jwt)) {
            throw new Exception('You need to configure your app JWT');
        }
    }
public function onConstruct ( ) { $ this -> userLinkedSourcesModel = new UserLinkedSources ( ) ; $ this -> userModel = new Users ( ) ; if ( ! isset ( $ this -> config -> jwt ) ) { throw new Exception ( 'You need to configure your app JWT' ) ; } }
Setup for this controller

@return void
Setup for this controller