src/daos/sql-query-builder.php
public function limit( $new_limit ) {
		$this->limit = $new_limit;
		if ( false === starts_with( $new_limit . '', ':' ) ) {
			$this->limit = (int) $new_limit;
		}
	}
public function limit( $new_limit ) {
		$this->limit = $new_limit;
		if ( false === starts_with( $new_limit . '', ':' ) ) {
			$this->limit = (int) $new_limit;
		}
	}
public function limit ( $ new_limit ) { $ this -> limit = $ new_limit ; if ( false === starts_with ( $ new_limit . '' , ':' ) ) { $ this -> limit = ( int ) $ new_limit ; } }
For setting a limit on the query other than the default

@param int|string $new_limit
For setting a limit on the query other than the default