Eloquent::skip PHP 메소드

skip() 공개 정적인 메소드

Alias to set the "offset" value of the query.
public static skip ( integer $value ) : Builder | static
$value integer
리턴 Illuminate\Database\Query\Builder | static
        public static function skip($value)
        {
            return \Illuminate\Database\Query\Builder::skip($value);
        }

Usage Example

예제 #1
0
 /**
  * @param $limit
  * @param $skip
  */
 public function limit($limit, $skip = null)
 {
     if (!is_null($limit) and is_numeric($limit)) {
         $this->object = $this->object->take($limit);
     } else {
         $this->object = $this->object->take(100);
     }
     if (!is_null($skip) and is_numeric($skip)) {
         $this->object = $this->object->skip($skip);
     }
 }
All Usage Examples Of Eloquent::skip
Eloquent