for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the Drest package.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
* @author Lee Davis
* @copyright Copyright (c) Lee Davis <@leedavis81>
* @link https://github.com/leedavis81/drest/blob/master/LICENSE
* @license http://opensource.org/licenses/MIT The MIT X License (MIT)
*/
namespace Drest\Event;
use Doctrine\Common\EventArgs;
use Drest\Service;
class PreRoutingArgs extends EventArgs
{
* @var Service $service
private $service;
* @param Service $service
public function __construct(Service $service)
$this->service = $service;
}
* Get the created service object
* @return Service
public function getService()
return $this->service;