mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-03-01 15:21:02 +03:00
67 lines
1.4 KiB
PHP
67 lines
1.4 KiB
PHP
<?php
|
|
/**
|
|
* Zend Framework (http://framework.zend.com/)
|
|
*
|
|
* @link http://github.com/zendframework/zf2 for the canonical source repository
|
|
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
|
|
* @license http://framework.zend.com/license/new-bsd New BSD License
|
|
*/
|
|
|
|
namespace Zend\Ldap\Node\Schema\ObjectClass;
|
|
|
|
/**
|
|
* This class provides a contract for schema objectClasses.
|
|
*/
|
|
interface ObjectClassInterface
|
|
{
|
|
/**
|
|
* Gets the objectClass name
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getName();
|
|
|
|
/**
|
|
* Gets the objectClass OID
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getOid();
|
|
|
|
/**
|
|
* Gets the attributes that this objectClass must contain
|
|
*
|
|
* @return array
|
|
*/
|
|
public function getMustContain();
|
|
|
|
/**
|
|
* Gets the attributes that this objectClass may contain
|
|
*
|
|
* @return array
|
|
*/
|
|
public function getMayContain();
|
|
|
|
/**
|
|
* Gets the objectClass description
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getDescription();
|
|
|
|
/**
|
|
* Gets the objectClass type
|
|
*
|
|
* @return int
|
|
*/
|
|
public function getType();
|
|
|
|
/**
|
|
* Returns the parent objectClasses of this class.
|
|
* This includes structural, abstract and auxiliary objectClasses
|
|
*
|
|
* @return array
|
|
*/
|
|
public function getParentClasses();
|
|
}
|