LoginController::__construct PHP Method

__construct() public method

Construct this object by extending the basic Controller class. The parent::__construct thing is necessary to put checkAuthentication in here to make an entire controller only usable for logged-in users (for sure not needed in the LoginController).
public __construct ( )
    public function __construct()
    {
        parent::__construct();
    }