Skip to content

Instantly share code, notes, and snippets.

@coreymcmahon
Created June 14, 2012 10:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coreymcmahon/2929559 to your computer and use it in GitHub Desktop.
Save coreymcmahon/2929559 to your computer and use it in GitHub Desktop.
Defining a controller in the Calendar\Controller namespace - http://www.symfonycentral.com
<?php
namespace Calendar\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Calendar\Model\LeapYear;
class LeapYearController
{
// ... controller code in here
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment