public function take($num)
    {
        if ($num > $this->count()) {
            $num = $this->count();
        }
        return $this->slice(0, $num - 1);
    }
public function take($num)
    {
        if ($num > $this->count()) {
            $num = $this->count();
        }
        return $this->slice(0, $num - 1);
    }
{@inheritdoc}