2017 © Pedro Peláez
 

library model-date

Getter and Setter package for model date. This package is part of a project 'Aedart\Model', visit https://bitbucket.org/aedart/model to learn more about it. Official sub-package website (https://bitbucket.org/fenix440/model-date/).

image

fenix440/model-date

Getter and Setter package for model date. This package is part of a project 'Aedart\Model', visit https://bitbucket.org/aedart/model to learn more about it. Official sub-package website (https://bitbucket.org/fenix440/model-date/).

  • Sunday, June 21, 2015
  • by bszala
  • Repository
  • 0 Watchers
  • 0 Stars
  • 10 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Model-Date

Getter and Setter package for some kind of model date., (*1)

This package is part of a project Aedart\Model, visit https://bitbucket.org/aedart/model to learn more about it., (*2)

Official sub-package website (https://bitbucket.org/fenix440/model-date), (*3)

Contents

[TOC], (*4)

When to use this

When your component(s) need to be aware of date property, (*5)

How to install

#!console

composer require fenix440/model-date  versionNumber

This package uses composer. If you do not know what that is or how it works, I recommend that you read a little about, before attempting to use this package., (*6)

Quick start

Provided that you have an interface, e.g. for a product, you can extend the date aware interface;, (*7)

#!php
<?php
use Fenix440\Model\Date\Interfaces\DateAware;

interface IProduct extends DateAware{

    // ... Remaining interface implementation not shown

}

In your class implementation, you simple use one of the date traits., (*8)

#!php
<?php
use Fenix440\Model\Date\Traits\DateTrait;

class MyProduct implements IProduct {

     use DateTrait;

     // ... Remaining implementation not shown...

}

License

BSD-3-Clause, Read the LICENSE file included in this package, (*9)

The Versions

21/06 2015

dev-master

9999999-dev https://bitbucket.org/fenix440/model-date/

Getter and Setter package for model date. This package is part of a project 'Aedart\Model', visit https://bitbucket.org/aedart/model to learn more about it. Official sub-package website (https://bitbucket.org/fenix440/model-date/).

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Bartlomiej Szala

model date getter setter property

21/06 2015

1.2.0

1.2.0.0 https://bitbucket.org/fenix440/model-date/

Getter and Setter package for model date. This package is part of a project 'Aedart\Model', visit https://bitbucket.org/aedart/model to learn more about it. Official sub-package website (https://bitbucket.org/fenix440/model-date/).

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Bartlomiej Szala

model date getter setter property

26/04 2015

1.1.0

1.1.0.0 https://bitbucket.org/fenix440/model-date/

Getter and Setter package for model date. This package is part of a project 'Aedart\Model', visit https://bitbucket.org/aedart/model to learn more about it. Official sub-package website (https://bitbucket.org/fenix440/model-date/).

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Bartlomiej Szala

model date getter setter property

25/04 2015

1.0.0

1.0.0.0 https://bitbucket.org/fenix440/model-date/

Getter and Setter package for model date. This package is part of a project 'Aedart\Model', visit https://bitbucket.org/aedart/model to learn more about it. Official sub-package website (https://bitbucket.org/fenix440/model-date/).

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Bartlomiej Szala

model date getter setter property