Laravel version update

Laravel version update
This commit is contained in:
Manish Verma
2018-08-06 18:48:58 +05:30
parent d143048413
commit 126fbb0255
13678 changed files with 1031482 additions and 778530 deletions

View File

@@ -31,7 +31,7 @@ class Collection extends ResourceAbstract
protected $data;
/**
* A the paginator instance.
* The paginator instance.
*
* @var PaginatorInterface
*/

View File

@@ -14,7 +14,7 @@ namespace League\Fractal\Resource;
/**
* Item Resource
*
* The Item Resource can stored any mixed data, usually an ORM, ODM or
* The Item Resource can store any mixed data, usually an ORM, ODM or
* other sort of intelligent result, DataMapper model, etc but could
* be a basic array, object, or whatever you like.
*/

View File

@@ -0,0 +1,23 @@
<?php
/*
* This file is part of the League\Fractal package.
*
* (c) Phil Sturgeon <me@philsturgeon.uk>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace League\Fractal\Resource;
/**
* Primitive Resource
*
* The Primitive Resource can store any primitive data, like a string, integer,
* float, double etc.
*/
class Primitive extends ResourceAbstract
{
//
}

View File

@@ -127,7 +127,7 @@ abstract class ResourceAbstract implements ResourceInterface
* Set the transformer.
*
* @param callable|TransformerAbstract $transformer
*
*
* @return $this
*/
public function setTransformer($transformer)