LoginController::__construct PHP 메소드

__construct() 공개 메소드

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();
    }