Devise
Class

Devise\Pages\Interrupter\BlockFactory

class BlockFactory

the purpose this class is to take a blade view and abstract out all the @if, @foreach blocks and put them into a composite pattern structure so we can use those blocks later to print off devise placeholder tags

Methods

__construct(NodeFactory $NodeFactory, ViewOpener $ViewOpener)

Create a new block factory

Block createBlock($view, $includedViews = array())

Creates a block from the given view

Details

at line 19
public __construct(NodeFactory $NodeFactory, ViewOpener $ViewOpener)

Create a new block factory

Parameters

NodeFactory $NodeFactory
ViewOpener $ViewOpener

at line 31
public Block createBlock($view, $includedViews = array())

Creates a block from the given view

Parameters

$view
$includedViews

Return Value

Block