LdapTools\Hydrator\ArrayHydrator::mergeDefaultAttributes PHP 메소드

mergeDefaultAttributes() 보호된 메소드

Returns all of the attributes to be sent to LDAP after factoring in possible default schema values.
protected mergeDefaultAttributes ( array $attributes ) : array
$attributes array
리턴 array
    protected function mergeDefaultAttributes(array $attributes)
    {
        if ($this->schema && !empty($this->schema->getDefaultValues())) {
            $attributes = array_merge($this->schema->getDefaultValues(), $attributes);
        }
        return $attributes;
    }