In your created controller you can create your action with the following code.
BY Best Interview Question ON 24 Jan 2019

Example

public function indexAction()
{
     return $this->render('user/login.html.twig', [ ]);
}