public function each(Closure $fn)
    {
        foreach ($this->elements as $key => $element) {
            if ($fn($element, $key) === false) {
                return false;
            }
        }

        return true;
    }
public function each(Closure $fn)
    {
        foreach ($this->elements as $key => $element) {
            if ($fn($element, $key) === false) {
                return false;
            }
        }

        return true;
    }
public function each ( Closure $ fn ) { foreach ( $ this -> elements as $ key => $ element ) { if ( $ fn ( $ element , $ key ) === false ) { return false ; } } return true ; }
CAll function on each element of collection

@param Closure $fn
@return bool
CAll function on each element of collection