/** * @see RedBean_Instance::find * This variation returns the last bean only. * * @param string $type type the type of bean you are looking for * @param string $sql sql SQL query to find the desired bean, starting right after WHERE clause * @param array $bindings values array of values to be bound to parameters in query * * @return RedBean_OODBBean */ public function findLast($type, $sql = NULL, $bindings = array()) { return $this->finder->findLast($type, $sql, $bindings); }
/** * @see RedBean_Facade::find * This variation returns the last bean only. * * @param string $type type the type of bean you are looking for * @param string $sql sql SQL query to find the desired bean, starting right after WHERE clause * @param array $bindings values array of values to be bound to parameters in query * * @return RedBean_OODBBean */ public static function findLast($type, $sql = NULL, $bindings = array()) { return self::$finder->findLast($type, $sql, $bindings); }
/** * @see RedBean_Facade::find * This variation returns the last bean only. * * @param string $type type the type of bean you are looking for * @param string $sql sql SQL query to find the desired bean, starting right after WHERE clause * @param array $values values array of values to be bound to parameters in query * * @return RedBean_OODBBean $bean */ public static function findLast($type, $sql = null, $values = array()) { return self::$finder->findLast($type, $sql, $values); }