for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of UnderQuery package.
*
* Copyright (c) 2016 Beniamin Jonatan Šimko
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Phuria\UnderQuery\Statement;
use Phuria\UnderQuery\Parameter\QueryParameterInterface;
* @author Beniamin Jonatan Šimko <[email protected]>
* @codeCoverageIgnore
class NullStatement implements StatementInterface
{
* @inheritdoc
public function execute()
return $this;
}
public function rowCount()
return null;
public function bindParameter(QueryParameterInterface $parameter)
public function bindParameters($parameters)
public function bindValue($name, $value)
public function closeCursor()
public function fetch($fetchStyle = null, $cursorOrientation = \PDO::FETCH_ORI_NEXT, $cursorOffset = 0)
public function fetchColumn($column = 0)
public function fetchAll($fetchStyle = null)
return [];
public function fetchObject($className = 'stdClass', $constructorArguments = [])
public function fetchCallback(callable $callback)