Skip to content

[zimbra-api] [READ-ONLY] Subtree split of the Zimbra\Enum component

Notifications You must be signed in to change notification settings

zimbra-api/enum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zimbra Enum Component

Zimbra Enum provides enumarable classes for Zimbra Soap Api

The example below demonstrates how you can set up an enum class:

namespace Zimbra\Enum;

class CustomEnum extends Base
{
    const ENUM_CONST = 'enum value';
}

// $enum is a CustomEnum instance
$enum = CustomEnum::ENUM_CONST();

// this statement print 'enum value'
print $enum->value();

Installation

This package can be installed easily using Composer <http://getcomposer.org>. Simply add the following to the composer.json file at the root of your project:

{
    "require": {
        "zimbra-api/enum": "*"
    }
}

Then install your dependencies using composer.phar install.

About

[zimbra-api] [READ-ONLY] Subtree split of the Zimbra\Enum component

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages