Laravel version update
Laravel version update
This commit is contained in:
@@ -31,7 +31,7 @@ class Collection extends ResourceAbstract
|
||||
protected $data;
|
||||
|
||||
/**
|
||||
* A the paginator instance.
|
||||
* The paginator instance.
|
||||
*
|
||||
* @var PaginatorInterface
|
||||
*/
|
||||
|
||||
2
vendor/league/fractal/src/Resource/Item.php
vendored
2
vendor/league/fractal/src/Resource/Item.php
vendored
@@ -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.
|
||||
*/
|
||||
|
||||
23
vendor/league/fractal/src/Resource/Primitive.php
vendored
Normal file
23
vendor/league/fractal/src/Resource/Primitive.php
vendored
Normal 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
|
||||
{
|
||||
//
|
||||
}
|
||||
@@ -127,7 +127,7 @@ abstract class ResourceAbstract implements ResourceInterface
|
||||
* Set the transformer.
|
||||
*
|
||||
* @param callable|TransformerAbstract $transformer
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTransformer($transformer)
|
||||
|
||||
Reference in New Issue
Block a user