protected function applyInstructions(Scaffold $scaffold, $phase)
    {
        $instructions = $this->blueprint->getInstructions($phase);
        foreach ($instructions as $instruction) {
            $instruction->apply($scaffold);
        }
    }
protected function applyInstructions(Scaffold $scaffold, $phase)
    {
        $instructions = $this->blueprint->getInstructions($phase);
        foreach ($instructions as $instruction) {
            $instruction->apply($scaffold);
        }
    }
protected function applyInstructions ( Scaffold $ scaffold , $ phase ) { $ instructions = $ this -> blueprint -> getInstructions ( $ phase ) ; foreach ( $ instructions as $ instruction ) { $ instruction -> apply ( $ scaffold ) ; } }
Applies to scaffold all build instructions
that have specified build phase.

@param Scaffold $scaffold
@param int $phase
Applies to scaffold all build instructions that have specified build phase .