public static function create(array $data = [], ClientInterface $client = null)
    {

        return (new RequestService($client))
            ->setResourceClass(static::class)
            ->create($data);
    }
public static function create(array $data = [], ClientInterface $client = null)
    {

        return (new RequestService($client))
            ->setResourceClass(static::class)
            ->create($data);
    }
public static function create ( array $ data = [ ] , ClientInterface $ client = null ) { return ( new RequestService ( $ client ) ) -> setResourceClass ( static :: class ) -> create ( $ data ) ; }
Create a Resource
@param  array                $data
@param  ClientInterface|null $client
@return self
Create a Resource