initialize() public static method

Initialize the component factory.
public static initialize ( Workspace $workspace, Settings $settings, Component_Text_Styles $styles, Component_Layouts $layouts )
$workspace Workspace
$settings Settings
$styles Component_Text_Styles
$layouts Component_Layouts
 public function setup()
 {
     $this->prophet = new \Prophecy\Prophet();
     $this->settings = new Settings();
     $this->content = new Exporter_Content(1, 'My Title', '<p>Hello, World!</p>', null, null, 'Author Name');
     $this->styles = new Component_Text_Styles($this->content, $this->settings);
     $this->layouts = new Component_Layouts($this->content, $this->settings);
     $workspace = $this->prophet->prophesize('\\Exporter\\Workspace');
     Component_Factory::initialize($workspace, $this->settings, $this->styles, $this->layouts);
 }