for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of Sulu.
*
* (c) MASSIVE ART WebServices GmbH
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Sulu\Component\DocumentManager\Event;
use Sulu\Component\DocumentManager\Collection\QueryResultCollection;
use Sulu\Component\DocumentManager\Query\Query;
class QueryExecuteEvent extends AbstractEvent
{
use EventOptionsTrait;
/**
* @var Query
private $query;
* @var QueryResultCollection
private $result;
* @param Query $query
* @param array $options
public function __construct(Query $query, array $options = [])
$this->query = $query;
$this->options = $options;
$options
array
object<Symfony\Component...solver\OptionsResolver>
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..
}
* @return Query
public function getQuery()
return $this->query;
* @param QueryResultCollection $collection
public function setResult(QueryResultCollection $collection)
$this->result = $collection;
* @return mixed
public function getResult()
return $this->result;
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..