Adldap\Models\Factory::ou PHP Method

ou() public method

Creates a new organizational unit instance.
public ou ( array $attributes = [] ) : OrganizationalUnit
$attributes array
return OrganizationalUnit
    public function ou(array $attributes = [])
    {
        return (new OrganizationalUnit($attributes, $this->query))->setAttribute($this->schema->objectClass(), [$this->schema->top(), $this->schema->organizationalUnit()]);
    }