2017 © Pedro Peláez
 

library model-weight

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

image

fenix440/model-weight

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

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

The README.md

Model-Weight

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

Contents

[TOC], (*4)

When to use this

When your component(s) need to be aware of some kind of a weight, (*5)

How to install

#!console

composer require fenix440/model-weight 1.*

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 weight aware interface;, (*7)

#!php
<?php
use Fenix440\Model\Weight\Interfaces\WeightAware;

interface IProduct extends WeightAware{

    // ... Remaining interface implementation not shown

}

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

#!php
<?php
use Fenix440\Model\Weight\Traits\WeightTrait;

class MyProduct implements IProduct {

     use WeightTrait;

     // ... 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-weight/

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

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Bartlomiej Szala

getter setter property weight

21/06 2015

1.2.0

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

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

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Bartlomiej Szala

getter setter property weight

23/04 2015

1.1.0

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

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

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Bartlomiej Szala

getter setter property weight

19/04 2015

1.0.0

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

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

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Bartlomiej Szala

getter setter property weight