public function each(callable $callable)
    {
        foreach ($this->objects as $key => $value) {
            if (false === call_user_func_array($callable, array($value, $key))) {
                break;
            }
        }

        return $this;
    }
public function each(callable $callable)
    {
        foreach ($this->objects as $key => $value) {
            if (false === call_user_func_array($callable, array($value, $key))) {
                break;
            }
        }

        return $this;
    }
public function each ( callable $ callable ) { foreach ( $ this -> objects as $ key => $ value ) { if ( false === call_user_func_array ( $ callable , array ( $ value , $ key ) ) ) { break ; } } return $ this ; }
Execute the callback for each element

@param callable $callable function ($value, $key) {}

@return Collection
Execute the callback for each element