src/Components/Query.php
public function withParameter($name, $value) {

            $query = clone $this;
            $query->setParameter($name, $value);

            return $query;

        }
public function withParameter($name, $value) {

            $query = clone $this;
            $query->setParameter($name, $value);

            return $query;

        }
public function withParameter ( $ name , $ value ) { $ query = clone $ this ; $ query -> setParameter ( $ name , $ value ) ; return $ query ; }
Get a new Query with a specified parameter
@param   string       $name       Parameter's name
@param   mixed        $value      Parameter's value
@return  Query        Return a new Query with the specified param
Get a new Query with a specified parameter