src/LdapTools/LdapManager.php
public function createLdapObject($type = null)
    {
        $creator = new LdapObjectCreator(
            $this->getConnection(),
            $this->getSchemaFactory(),
            $this->config->getEventDispatcher()
        );
        if ($type) {
            $creator->create($type);
        }

        return $creator;
    }
public function createLdapObject($type = null)
    {
        $creator = new LdapObjectCreator(
            $this->getConnection(),
            $this->getSchemaFactory(),
            $this->config->getEventDispatcher()
        );
        if ($type) {
            $creator->create($type);
        }

        return $creator;
    }
public function createLdapObject ( $ type = null ) { $ creator = new LdapObjectCreator ( $ this -> getConnection ( ) , $ this -> getSchemaFactory ( ) , $ this -> config -> getEventDispatcher ( ) ) ; if ( $ type ) { $ creator -> create ( $ type ) ; } return $ creator ; }
Get a LdapObjectCreator object.

@param string|null $type
@return LdapObjectCreator
Get a LdapObjectCreator object .