public function item($data, $transformer = null, $resourceKey = null): Item
    {
        return new Item($data, $transformer, $resourceKey);
    }
public function item($data, $transformer = null, $resourceKey = null): Item
    {
        return new Item($data, $transformer, $resourceKey);
    }
public function item ( $ data , $ transformer = null , $ resourceKey = null ) : Item { return new Item ( $ data , $ transformer , $ resourceKey ) ; }
Create a new Item resource.

@param mixed       $data
@param mixed|null  $transformer
@param string|null $resourceKey

@return Item
Create a new Item resource .