for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Psi\Component\Grid\Metadata;
use Metadata\MergeableClassMetadata;
final class ClassMetadata extends MergeableClassMetadata
{
private $grids;
private $queries;
public function __construct($name, array $grids, array $queries = [])
parent::__construct($name);
array_map(function (GridMetadata $grid) {
$grid->attachClassMetadata($this);
}, $grids);
array_map(function (QueryMetadata $query) {
$query
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
}, $queries);
$this->grids = $grids;
$this->queries = $queries;
}
public function getGrids(): array
return $this->grids;
public function getQueries()
return $this->queries;
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.