public function build()
    {
        /** @var Buildable[] $delayed */
        $delayed = [];

        foreach ($this->getQueued() as $buildable) {
            if ($buildable instanceof Delay) {
                $delayed[] = $buildable;
            } else {
                $buildable->build();
            }
        }

        foreach ($delayed as $buildable) {
            $buildable->build();
        }
    }
public function build()
    {
        /** @var Buildable[] $delayed */
        $delayed = [];

        foreach ($this->getQueued() as $buildable) {
            if ($buildable instanceof Delay) {
                $delayed[] = $buildable;
            } else {
                $buildable->build();
            }
        }

        foreach ($delayed as $buildable) {
            $buildable->build();
        }
    }
public function build ( ) { /** @var Buildable[] $delayed */ $ delayed = [ ] ; foreach ( $ this -> getQueued ( ) as $ buildable ) { if ( $ buildable instanceof Delay ) { $ delayed [ ] = $ buildable ; } else { $ buildable -> build ( ) ; } } foreach ( $ delayed as $ buildable ) { $ buildable -> build ( ) ; } }
Execute the build process for all queued buildables.
Execute the build process for all queued buildables .