for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Drupal\graphql\GraphQL;
use Youshido\GraphQL\Schema\AbstractSchema;
trait CacheableEdgeTrait {
/**
* Retrieves the referenced plugin instance.
*
* @return \Drupal\graphql\Plugin\GraphQL\TypeSystemPluginInterface
* The referenced plugin instance.
*/
abstract public function getPlugin();
* {@inheritdoc}
public function getSchemaCacheMetadata(AbstractSchema $schema) {
$schema
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
return $this->getPlugin()->getSchemaCacheMetadata();
}
public function getResponseCacheMetadata(AbstractSchema $schema) {
return $this->getPlugin()->getResponseCacheMetadata();
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.