getDefaultValues() public method

Get the default values when creating this object.
public getDefaultValues ( ) : array
return array
Esempio n. 1
0
 /**
  * Returns all of the attributes to be sent to LDAP after factoring in possible default schema values.
  *
  * @param array $attributes
  * @return array
  */
 protected function mergeDefaultAttributes(array $attributes)
 {
     if ($this->schema && !empty($this->schema->getDefaultValues())) {
         $attributes = array_merge($this->schema->getDefaultValues(), $attributes);
     }
     return $attributes;
 }