public static function create(SessionInterface $session, Configuration $config = null, EventManager $evm = null)
    {
        return new self($session, $config, $evm);
    }
public static function create(SessionInterface $session, Configuration $config = null, EventManager $evm = null)
    {
        return new self($session, $config, $evm);
    }
public static function create ( SessionInterface $ session , Configuration $ config = null , EventManager $ evm = null ) { return new self ( $ session , $ config , $ evm ) ; }
Factory method for a Document Manager.

@param SessionInterface $session
@param Configuration    $config
@param EventManager     $evm

@return DocumentManager
Factory method for a Document Manager .