for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Author: Nil Portugués Calderó <[email protected]>
* Date: 11/21/15
* Time: 3:26 PM.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NilPortugues\Api\JsonApi\Http\Factory;
use NilPortugues\Api\JsonApi\Http\Request\Request;
* Class RequestFactory.
class RequestFactory
{
* @var Request
protected static $request;
* @return Request
public static function create()
if (self::$request) {
return self::$request;
}
self::$request = new Request();