Giter VIP home page Giter VIP logo

geckoboard-dataset-api's People

Contributors

gkawka avatar zsiciarz avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

geckoboard-dataset-api's Issues

New release for php7

Hey man, Would be great if you could tag another release since you've changed the composer.json php version to allow PHP 7.

Would mean I can avoid doing this in our composer.json:

"gkawka/geckoboard-dataset-api": "dev-master#7ad902974ddf2c65866c0c2690c9df8de6334cd9"

If I don't use dev-master I get:

    - kwk/geckoboard-dataset-api 0.1.5 requires php ^5.3 -> your PHP version (7.0.22) does not satisfy that requirement.

Declare field indentifier in TypeInterface

Goal

TypeInterface contains information on field identifier. It simplifies API on DatasetBuilder by remove id parameter on addField() method

Example

interface TypeInterface
{
    // ...

    /**
     * Return type identifier
     *
     * @return string
     */
    public function getName();
}
class DatasetBuilder
{
    // ...

    public function addField(TypeInterface $fieldDefinition)
    {
        $this->fields[$fieldDefinition->getName()] = $fieldDefinition->toArray();

        return $this;
    }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.