Elastica\Query\Ids::__construct PHP Method

__construct() public method

Creates filter object.
public __construct ( string | Type $type = null, array $ids = [] )
$type string | Elastica\Type Type to filter on
$ids array List of ids
    public function __construct($type = null, array $ids = [])
    {
        $this->setType($type);
        $this->setIds($ids);
    }