public function add($instruction)
    {
        if ($instruction instanceof Closure) {
            $instruction = new CustomInstruction($instruction);
        }
        $this->instructions[] = $instruction;
        return $this;
    }
public function add($instruction)
    {
        if ($instruction instanceof Closure) {
            $instruction = new CustomInstruction($instruction);
        }
        $this->instructions[] = $instruction;
        return $this;
    }
public function add ( $ instruction ) { if ( $ instruction instanceof Closure ) { $ instruction = new CustomInstruction ( $ instruction ) ; } $ this -> instructions [ ] = $ instruction ; return $ this ; }
Adds instruction to blueprint.

@param InstructionInterface|Closure $instruction
@return $this
Adds instruction to blueprint .