for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Routes;
use CoffeeCode\Router\Router;
use ThallesDella\FactoryRouter\Routes;
/**
* Factory Router | Class Google [ EXAMPLE ]
*
* @category FactoryRouter\Examples\Routes
* @package Routes
* @author Thalles D. koester <[email protected]>
* @license https://choosealicense.com/licenses/mit/ MIT
* @link https://github.com/thallesdella/factory-router
*/
class Google extends Routes
{
* Google constructor.
* @param Router $router Router object
public function __construct(Router $router)
$pieces = explode('\\', __CLASS__);
$controller = end($pieces);
parent::__construct($router, $controller);
}
* @return Router
public function updateRouter(): Router
return $this->router;