The Framework Code

class/pages/sample.txt

File List

<?php
 /**
  * SAMPLE page class
  *
  * @author Your Name <Your@email.org>
  * @copyright year You
  * @package Framework
  * @subpackage UserPages
  */
    namespace Pages;

    use \Support\Context;
/**
 * A SAMPLE page class
 */
    class Sample extends \Framework\SiteAction
    {
/**
 * Handle various contact operations /
 *
 * @param Context $context    The context object for the site
 *
 * @return string|array     A template name or an array with more complex information
 */
        public function handle(Context $context)
        {
            return '@content/sample.twig';
        }
    }
?>