Apple_Exporter\Exporter::__construct PHP Method

__construct() public method

Constructor.
public __construct ( apple_exporter\Exporter_Content $content, Workspace $workspace = null, Settings $settings = null )
$content apple_exporter\Exporter_Content
$workspace Workspace
$settings Settings
    function __construct($content, $workspace = null, $settings = null)
    {
        $this->content = $content;
        $this->workspace = $workspace ?: new Workspace($this->content_id());
        $this->settings = $settings ?: new Settings();
        $this->builders = array();
    }