src/Utils/Loop/Loop.php
private function seed()
    {
        foreach ($this->input as $key => $value) {
            if (!$this->call($this->before, $value, $key)) {
                return;
            }

            yield $key => $value;

            if (!$this->call($this->after, $value, $key)) {
                return;
            }
        }
    }
private function seed()
    {
        foreach ($this->input as $key => $value) {
            if (!$this->call($this->before, $value, $key)) {
                return;
            }

            yield $key => $value;

            if (!$this->call($this->after, $value, $key)) {
                return;
            }
        }
    }
private function seed ( ) { foreach ( $ this -> input as $ key => $ value ) { if ( ! $ this -> call ( $ this -> before , $ value , $ key ) ) { return ; } yield $ key => $ value ; if ( ! $ this -> call ( $ this -> after , $ value , $ key ) ) { return ; } } }
Crea un generador

@return \Generator|void
Crea un generador