Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
51 lines (45 sloc) 1.68 KB
<?php
/*
* This file is part of the Pho package.
*
* (c) Emre Sokullu <emre@phonetworks.org>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Pho\Kernel;
/**
* This file contains default configuration variables
* for the kernel. If no configuration specified, the Kernel
* will run with these values.
*
* @author Emre Sokullu
*/
return array(
"services" => array( // Services: type defines the adapter to use, and uri the service options.
"database" => ["type"=>"apcu", "uri"=> "" ],
"logger" => ["type"=>"stdout", "uri"=> "" ],
"storage" => ["type"=>"filesystem", "uri"=> "" ],
"events" => ["type"=>"local", "uri"=> "" ],
"index" => ["type"=>"neo4j", "uri"=> ""]
),
"tmp_path" => sys_get_temp_dir(), // Temporary folder to store files. For example uploaded files may go there.
"root_path" => __DIR__,
"adapter_path" => __DIR__ . DIRECTORY_SEPARATOR ." Services" . DIRECTORY_SEPARATOR . "Adapters",
"namespaces" => array(
"root" => __NAMESPACE__,
"predicates" => __NAMESPACE__."\\Predicates\\",
"services" => __NAMESPACE__."\\Services\\",
"nodes" => __NAMESPACE__."\\Nodes\\",
"edges" => __NAMESPACE__."\\Edges\\",
),
"log_level" => "WARNING", // INFO
"database_key_separator" => "/",
"default_objects" => array(
"graph" => Standards\Graph::class,
"founder" => Standards\Founder::class,
"alien" => Standards\Alien::class,
"space" => Standards\Space::class,
"editors" => Standards\VirtualGraph::class
)
);
You can’t perform that action at this time.