2017 © Pedro Peláez
 

library model-duration

Getter and Setter package for model duration. 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-duration/).

image

fenix440/model-duration

Getter and Setter package for model duration. 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-duration/).

  • Saturday, May 9, 2015
  • by bszala
  • Repository
  • 0 Watchers
  • 0 Stars
  • 7 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Model-Duration

Getter and Setter package for some kind of model duration., (*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-duration), (*3)

Contents

[TOC], (*4)

When to use this

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

How to install

#!console

composer require fenix440/model-duration  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 job, you can extend the duration aware interface;, (*7)

#!php
<?php
use Fenix440\Model\Duration\Interfaces\DurationAware;

interface IJob extends DurationAware{

    // ... Remaining interface implementation not shown

}

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

#!php
<?php
use Fenix440\Model\Duration\Traits\DurationTrait;

class MyJob implements IJob {

     use DurationTrait;

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

}

License

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

The Versions

09/05 2015

dev-master

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

Getter and Setter package for model duration. 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-duration/).

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Bartlomiej Szala

model getter setter property duration

25/04 2015

1.0.0

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

Getter and Setter package for model duration. 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-duration/).

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Bartlomiej Szala

model getter setter property duration