for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @copyright Copyright (c) 2011 - 2014 Aleksandr Torosh (http://wezoom.net)
* @author Aleksandr Torosh <[email protected]>
*/
namespace Application\Mvc\Helper;
class RequestQuery extends \Phalcon\Mvc\User\Component
{
public function getSymbol()
$queries = $this->request->getQuery();
if (count($queries) == 1) {
return '?';
} else {
return '&';
}