partition() public method

public partition ( Closure $p )
$p Closure
 /**
  * {@inheritdoc}
  */
 public function partition(\Closure $p)
 {
     return $this->collection->partition($p);
 }