src/LdapTools/Configuration.php
public function setSchemaFormat($type)
    {
        if (!defined('\LdapTools\Factory\SchemaParserFactory::TYPE_'.strtoupper($type))) {
            throw new ConfigurationException(sprintf('Unknown schema format "%s".', $type));
        }
        $this->config['schemaFormat'] = $type;

        return $this;
    }
public function setSchemaFormat($type)
    {
        if (!defined('\LdapTools\Factory\SchemaParserFactory::TYPE_'.strtoupper($type))) {
            throw new ConfigurationException(sprintf('Unknown schema format "%s".', $type));
        }
        $this->config['schemaFormat'] = $type;

        return $this;
    }
public function setSchemaFormat ( $ type ) { if ( ! defined ( '\LdapTools\Factory\SchemaParserFactory::TYPE_' . strtoupper ( $ type ) ) ) { throw new ConfigurationException ( sprintf ( 'Unknown schema format "%s".' , $ type ) ) ; } $ this -> config [ 'schemaFormat' ] = $ type ; return $ this ; }
Set the schema definition format.

@param $type string The schema type (ie. yml).
@return $this
@throws ConfigurationException
Set the schema definition format .