Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • kevinkhill/lavacharts
  • Helg18/lavacharts
2 results
Show changes
Commits on Source (3)
Loading
Loading
@@ -3,6 +3,7 @@ build/
.idea/
 
javascript/node_modules/
javascript/renders/
javascript/phantomjs/renders/
 
composer.phar
Loading
Loading
<?php
<?php
 
namespace Khill\Lavacharts;
 
Loading
Loading
@@ -25,6 +25,8 @@ use Khill\Lavacharts\Values\StringValue;
use Khill\Lavacharts\Support\Traits\HasOptionsTrait as HasOptions;
use Khill\Lavacharts\Support\Contracts\RenderableInterface as Renderable;
 
require(__DIR__.'/Support/Traits/HasOptionsTrait.php');
/**
* Lavacharts - A PHP wrapper library for the Google Chart API
*
Loading
Loading
@@ -72,8 +74,6 @@ class Lavacharts
*/
public function __construct(array $options = [])
{
$this->initializeOptions($options);
if ( ! $this->usingComposer()) {
require_once(__DIR__.'/Support/Psr4Autoloader.php');
 
Loading
Loading
@@ -82,6 +82,8 @@ class Lavacharts
$loader->addNamespace('Khill\Lavacharts', __DIR__);
}
 
$this->initializeOptions($options);
$this->volcano = new Volcano;
$this->chartFactory = new ChartFactory;
$this->dashFactory = new DashboardFactory;
Loading
Loading