Skip to content
Snippets Groups Projects
Commit b37d453b authored by Kevin Hill's avatar Kevin Hill
Browse files

[ci skip] changing all 3.2.0 to 4.0.0

parent fe8f96d2
No related branches found
No related tags found
No related merge requests found
Showing
with 40 additions and 40 deletions
- 3.2.0
- 4.0.0
- Dropping support for PHP5.4
- Adding support for Angular
 
Loading
Loading
# Lavacharts 3.2.0
# Lavacharts 4.0.0
[![Total Downloads](https://img.shields.io/packagist/dt/khill/lavacharts.svg?style=plastic)](https://packagist.org/packages/khill/lavacharts)
[![License](https://img.shields.io/packagist/l/khill/lavacharts.svg?style=plastic)](http://opensource.org/licenses/MIT)
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%205.5-8892BF.svg?style=plastic)](https://php.net/)
Loading
Loading
Loading
Loading
@@ -13,7 +13,7 @@ use InvalidArgumentException;
*
*
* @package Khill\Lavacharts\Support
* @since 3.2.0
* @since 4.0.0
* @author TheCelavi <https://pastebin.com/u/TheCelavi>
* @link http://github.com/kevinkhill/lavacharts GitHub Repository Page
* @link http://lavacharts.com Official Docs Site
Loading
Loading
Loading
Loading
@@ -115,7 +115,7 @@ class Chart extends Renderable implements Customizable, Javascriptable, Visualiz
*
* If no formats are defined, then an empty buffer will be returned.
*
* @since 3.2.0
* @since 4.0.0
* @return Buffer The contents will be javascript source
*/
private function getFormats()
Loading
Loading
Loading
Loading
@@ -74,7 +74,7 @@ class Dashboard extends Renderable implements Customizable, Javascriptable, Visu
/**
* Returns the Dashboard version
*
* @since 3.2.0
* @since 4.0.0
* @return string
*/
public function getVersion()
Loading
Loading
@@ -105,7 +105,7 @@ class Dashboard extends Renderable implements Customizable, Javascriptable, Visu
/**
* Check if the Dashboard has any bindings.
*
* @since 3.2.0
* @since 4.0.0
* @return bool
*/
public function hasBindings()
Loading
Loading
@@ -167,7 +167,7 @@ class Dashboard extends Renderable implements Customizable, Javascriptable, Visu
/**
* Get all the packages need to render the Dashboard.
*
* @since 3.2.0
* @since 4.0.0
* @return array
*/
public function getPackages()
Loading
Loading
@@ -256,7 +256,7 @@ class Dashboard extends Renderable implements Customizable, Javascriptable, Visu
* Array representation of the Dashboard.
*
* @since 4.0.0 Removed unnecessary info from array.
* @since 3.2.0
* @since 4.0.0
* @return array
*/
public function toArray()
Loading
Loading
Loading
Loading
@@ -95,7 +95,7 @@ class Cell implements Customizable, Arrayable, Jsonable
/**
* Mapping the 'p' attribute of the cell to it's options.
*
* @deprecated 3.2.0 Why did I add this?
* @deprecated 4.0.0 Why did I add this?
* @since 3.1.0
* @param string $attr
* @return array
Loading
Loading
@@ -110,7 +110,7 @@ class Cell implements Customizable, Arrayable, Jsonable
/**
* Allowing the 'p' attribute to be checked for options by using the hasOptions method.
*
* @deprecated 3.2.0 Why did I add this?
* @deprecated 4.0.0 Why did I add this?
* @since 3.1.0
* @param string $attr
* @return bool
Loading
Loading
Loading
Loading
@@ -11,7 +11,7 @@ use Khill\Lavacharts\Builders\AbstractBuilder;
*
*
* @package Khill\Lavacharts\DataTables\Columns
* @since 3.2.0
* @since 4.0.0
* @author Kevin Hill <kevinkhill@gmail.com>
* @copyright (c) 2017, KHill Designs
* @link http://github.com/kevinkhill/lavacharts GitHub Repository Page
Loading
Loading
Loading
Loading
@@ -42,7 +42,7 @@ class DataFactory
* will be passed into DataTable#addRows(), the second arg now Column definitions
* and the last arg is options.
*
* @since 3.2.0 Variable arguments
* @since 4.0.0 Variable arguments
* @param array $args
* @return \Khill\Lavacharts\DataTables\DataTable
*/
Loading
Loading
Loading
Loading
@@ -123,7 +123,7 @@ class DataTable implements DataInterface, Customizable, Arrayable, Javascriptabl
/**
* Get the DataTable as an array.
*
* @since 3.2.0
* @since 4.0.0
* @return array
*/
public function toArray()
Loading
Loading
@@ -147,7 +147,7 @@ class DataTable implements DataInterface, Customizable, Arrayable, Javascriptabl
*
* Will include formats if defined
*
* @since 3.2.0 A boolean can be passed to disable the output of formatters.
* @since 4.0.0 A boolean can be passed to disable the output of formatters.
* @param bool $withFormats
* @return string JSON representation of the DataTable.
*/
Loading
Loading
@@ -639,7 +639,7 @@ class DataTable implements DataInterface, Customizable, Arrayable, Javascriptabl
/**
* Returns the Row at the given index.
*
* @since 3.2.0
* @since 4.0.0
* @param int $index
* @return Row
*/
Loading
Loading
@@ -686,7 +686,7 @@ class DataTable implements DataInterface, Customizable, Arrayable, Javascriptabl
/**
* Sets a Column at a specified index.
*
* @since 3.2.0
* @since 4.0.0
* @param int $index
* @param Column $column
* @return self
Loading
Loading
@@ -839,7 +839,7 @@ class DataTable implements DataInterface, Customizable, Arrayable, Javascriptabl
* Push a Column onto the DataTable
*
* @access private
* @since 3.2.0
* @since 4.0.0
* @param Column $column
* @return self
*/
Loading
Loading
@@ -854,7 +854,7 @@ class DataTable implements DataInterface, Customizable, Arrayable, Javascriptabl
* Push a Row onto the DataTable
*
* @access private
* @since 3.2.0
* @since 4.0.0
* @param Row $row
* @return self
*/
Loading
Loading
@@ -910,7 +910,7 @@ class DataTable implements DataInterface, Customizable, Arrayable, Javascriptabl
/**
* Checks to see if a Row has the correct number of Cells for the DataTable
*
* @since 3.2.0
* @since 4.0.0
* @param \Khill\Lavacharts\DataTables\Row $row
* @throws \Khill\Lavacharts\Exceptions\InvalidCellCount
*/
Loading
Loading
Loading
Loading
@@ -12,7 +12,7 @@ use Khill\Lavacharts\Exceptions\InvalidFormatType;
*
* @category Class
* @package Khill\Lavacharts\DataTables\Formats
* @since 3.2.0
* @since 4.0.0
* @author Kevin Hill <kevinkhill@gmail.com>
* @copyright (c) 2017, KHill Designs
* @link http://github.com/kevinkhill/lavacharts GitHub Repository Page
Loading
Loading
Loading
Loading
@@ -45,7 +45,7 @@ class Row extends ArrayObject implements Jsonable
/**
* Create a new, empty row
*
* @since 3.2.0
* @since 4.0.0
* @return Row
*/
public static function createEmpty()
Loading
Loading
@@ -56,7 +56,7 @@ class Row extends ArrayObject implements Jsonable
/**
* Create a new row filled with null values
*
* @since 3.2.0
* @since 4.0.0
* @param int $columnCount
* @return Row
* @throws InvalidArgumentException
Loading
Loading
@@ -116,7 +116,7 @@ class Row extends ArrayObject implements Jsonable
/**
* Add a new Cell to the row.
*
* @since 3.2.0
* @since 4.0.0
* @param Cell $cell
*/
public function addCell(Cell $cell)
Loading
Loading
@@ -127,7 +127,7 @@ class Row extends ArrayObject implements Jsonable
/**
* Returns the cells from the Row.
*
* @since 3.2.0
* @since 4.0.0
* @return Cell[]
*/
public function getCells()
Loading
Loading
@@ -138,7 +138,7 @@ class Row extends ArrayObject implements Jsonable
/**
* Returns the cells from the Row.
*
* @since 3.2.0
* @since 4.0.0
* @return Cell[]
*/
public function getCellCount()
Loading
Loading
Loading
Loading
@@ -10,7 +10,7 @@ use Carbon\Carbon;
* This was made so that I could copy and paste Google's examples for my tests.
*
* @package Khill\Lavacharts\Support
* @since 3.2.0
* @since 4.0.0
* @author Kevin Hill <kevinkhill@gmail.com>
* @copyright (c) 2017, KHill Designs
* @link http://github.com/kevinkhill/lavacharts GitHub Repository Page
Loading
Loading
Loading
Loading
@@ -10,7 +10,7 @@ use Khill\Lavacharts\Support\Contracts\Javascriptable;
* Define how an instance of an object will be converted to javascript source.
*
* @package Khill\Lavacharts\Support
* @since 3.2.0
* @since 4.0.0
* @author Kevin Hill <kevinkhill@gmail.com>
* @copyright (c) 2017, KHill Designs
* @link http://github.com/kevinkhill/lavacharts GitHub Repository Page
Loading
Loading
Loading
Loading
@@ -55,7 +55,7 @@ class Lavacharts implements Customizable, Jsonable, Arrayable
/**
* Lavacharts version
*/
const VERSION = '3.2.0';
const VERSION = '4.0.0';
 
/**
* Volcano methods to map with __call()
Loading
Loading
@@ -166,7 +166,7 @@ class Lavacharts implements Customizable, Jsonable, Arrayable
* This method will create a <script> for the lava.js module along with
* one additional <script> per chart & dashboard being rendered.
*
* @since 3.2.0
* @since 4.0.0
* @return string HTML script elements
*/
public function flow()
Loading
Loading
@@ -180,7 +180,7 @@ class Lavacharts implements Customizable, Jsonable, Arrayable
/**
* Convert the Lavacharts object to an array
*
* @since 3.2.0
* @since 4.0.0
* @return array
*/
public function toArray()
Loading
Loading
@@ -194,7 +194,7 @@ class Lavacharts implements Customizable, Jsonable, Arrayable
/**
* Create a new Chart of the given type.
*
* @since 3.2.0
* @since 4.0.0
* @param string $type
* @param array $args
* @return Chart
Loading
Loading
@@ -290,7 +290,7 @@ class Lavacharts implements Customizable, Jsonable, Arrayable
/**
* Returns the current locale used in the DataTable
*
* @deprecated 3.2.0 use $lava->getOption('locale')
* @deprecated 4.0.0 use $lava->getOption('locale')
* @since 3.1.0
* @return string
*/
Loading
Loading
@@ -307,7 +307,7 @@ class Lavacharts implements Customizable, Jsonable, Arrayable
* By default, Lavacharts is loaded with the "en" locale. You can override this default
* by explicitly specifying a locale when creating the DataTable.
*
* @deprecated 3.2.0 Set this option with the constructor, or with
* @deprecated 4.0.0 Set this option with the constructor, or with
* $lava->options->set('locale', 'en');
* @since 3.1.0
* @param string $locale
Loading
Loading
@@ -355,7 +355,7 @@ class Lavacharts implements Customizable, Jsonable, Arrayable
* Available options are defined in src/Laravel/config/lavacharts.php
*
* @since 3.1.0
* @since 3.2.0 Takes options and merges them with existing options.
* @since 4.0.0 Takes options and merges them with existing options.
* @param array $options Options for rendering
* @return string
*/
Loading
Loading
Loading
Loading
@@ -9,7 +9,7 @@ namespace Khill\Lavacharts\Support\Contracts;
*
*
* @package Khill\Lavacharts\Support\Contracts
* @since 3.2.0
* @since 4.0.0
* @author Kevin Hill <kevinkhill@gmail.com>
* @copyright (c) 2017, KHill Designs
* @link http://github.com/kevinkhill/lavacharts GitHub Repository Page
Loading
Loading
Loading
Loading
@@ -9,7 +9,7 @@ namespace Khill\Lavacharts\Support\Contracts;
*
*
* @package Khill\Lavacharts\Support\Contracts
* @since 3.2.0
* @since 4.0.0
* @author Kevin Hill <kevinkhill@gmail.com>
* @copyright (c) 2017, KHill Designs
* @link http://github.com/kevinkhill/lavacharts GitHub Repository Page
Loading
Loading
Loading
Loading
@@ -11,7 +11,7 @@ use Khill\Lavacharts\Support\Options;
*
*
* @package Khill\Lavacharts\Support\Contracts
* @since 3.2.0
* @since 4.0.0
* @author Kevin Hill <kevinkhill@gmail.com>
* @copyright (c) 2017, KHill Designs
* @link http://github.com/kevinkhill/lavacharts GitHub Repository Page
Loading
Loading
Loading
Loading
@@ -26,7 +26,7 @@ namespace Khill\Lavacharts\Support\Contracts;
*
*
* @package Khill\Lavacharts\Support\Contracts
* @since 3.2.0
* @since 4.0.0
* @author Kevin Hill <kevinkhill@gmail.com>
* @copyright (c) 2017, KHill Designs
* @link http://github.com/kevinkhill/lavacharts GitHub Repository Page
Loading
Loading
Loading
Loading
@@ -9,7 +9,7 @@ namespace Khill\Lavacharts\Support\Contracts;
*
*
* @package Khill\Lavacharts\Support\Contracts
* @since 3.2.0
* @since 4.0.0
* @author Kevin Hill <kevinkhill@gmail.com>
* @copyright (c) 2017, KHill Designs
* @link http://github.com/kevinkhill/lavacharts GitHub Repository Page
Loading
Loading
Loading
Loading
@@ -8,7 +8,7 @@ namespace Khill\Lavacharts\Support\Contracts;
* Define how an instance of an object will be converted to javascript source.
*
* @package Khill\Lavacharts\Support\Contracts
* @since 3.2.0
* @since 4.0.0
* @author Kevin Hill <kevinkhill@gmail.com>
* @copyright (c) 2017, KHill Designs
* @link http://github.com/kevinkhill/lavacharts GitHub Repository Page
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment