3 namespace RedBeanPHP\Cursor;
5 use RedBeanPHP\Cursor as Cursor;
9 * Implementation of the NULL Cursor.
10 * Used for an empty BeanCollection. This Cursor
11 * can be used for instance if a query fails but the interface
12 * demands a cursor to be returned.
14 * @file RedBeanPHP/Cursor/NULLCursor.php
15 * @author Gabor de Mooij and the RedBeanPHP Community
19 * (c) G.J.G.T. (Gabor) de Mooij and the RedBeanPHP Community.
20 * This source file is subject to the BSD/GPLv2 License that is bundled
21 * with this source code in the file license.txt.
23 class NullCursor implements Cursor
26 * @see Cursor::getNextItem
28 public function getNextItem()
36 public function close()