LdapTools\Schema\LdapObjectSchema::getSchemaName PHP Method

getSchemaName() public method

The name of the schema this object definition came from.
public getSchemaName ( ) : string
return string
    public function getSchemaName()
    {
        return $this->schemaName;
    }

Usage Example

Esempio n. 1
0
 /**
  * @param array $filter
  * @param BaseOperator|null $operator
  * @return BaseOperator
  */
 protected function getOperatorForArray(array $filter, BaseOperator $operator = null)
 {
     $filter = !empty($filter) ? $this->filterBuilder->bAnd(...$this->parseFilterToOperators($filter)) : null;
     if (!$filter && !$operator) {
         throw new InvalidArgumentException(sprintf('Type "%s" for schema "%s" needs to have one of the following defined: objectClass, objectCategory, or filter.', $this->schema->getObjectType(), $this->schema->getSchemaName()));
     } elseif ($filter && $operator) {
         $operator = $this->filterBuilder->bAnd($operator, $filter);
     } else {
         $operator = $operator ?: $filter;
     }
     return $operator;
 }
All Usage Examples Of LdapTools\Schema\LdapObjectSchema::getSchemaName