src/Majora/Component/Graph/Engine/OrientDbEngine.php
public function createDatabase($connectionName)
    {
        $configuration = $this->getConfiguration($connectionName);
        $database = $this->getConnection($connectionName);

        $database->DBCreate(
            $configuration->getDatabase(),
            $configuration->getDataType(),
            $configuration->getStorageType()
        );

        return $this->getDatabase($connectionName);
    }
public function createDatabase($connectionName)
    {
        $configuration = $this->getConfiguration($connectionName);
        $database = $this->getConnection($connectionName);

        $database->DBCreate(
            $configuration->getDatabase(),
            $configuration->getDataType(),
            $configuration->getStorageType()
        );

        return $this->getDatabase($connectionName);
    }
public function createDatabase ( $ connectionName ) { $ configuration = $ this -> getConfiguration ( $ connectionName ) ; $ database = $ this -> getConnection ( $ connectionName ) ; $ database -> DBCreate ( $ configuration -> getDatabase ( ) , $ configuration -> getDataType ( ) , $ configuration -> getStorageType ( ) ) ; return $ this -> getDatabase ( $ connectionName ) ; }
Tries to create a database for given connection name

@param string $name

@return \OrientDB
Tries to create a database for given connection name