for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Cycle\ORM\Select;
/**
* Provides the ability to scope query and load necessary relations into the loader.
* @final
*/
class QueryScope implements ConstrainInterface
Cycle\ORM\Select\ConstrainInterface
If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated annotation
ignore-deprecated
class QueryScope implements /** @scrutinizer ignore-deprecated */ ConstrainInterface
This interface has been deprecated. The supplier of the interface has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the interface will be removed and what other interface to use instead.
{
/** @var array */
private $where;
private $orderBy;
* @param array $where
* @param array $orderBy
public function __construct(array $where, array $orderBy = [])
$this->where = $where;
$this->orderBy = $orderBy;
}
* @inheritdoc
public function apply(QueryBuilder $query): void
$query->where($this->where)->orderBy($this->orderBy);
This interface has been deprecated. The supplier of the interface has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the interface will be removed and what other interface to use instead.