Leaf PHP

Config
in package

Table of Contents

Properties

$configBlueprint  : mixed
$env  : mixed
$pathsConfig  : mixed
$seeder  : mixed

Methods

config()  : mixed
Get or generate aloe config
paths()  : mixed
Get or generate aloe paths
rootpath()  : mixed
Get project rootpath

Properties

$configBlueprint

public static mixed $configBlueprint = ['paths' => []]

$env

public static mixed $env = 'WEB'

$pathsConfig

public static mixed $pathsConfig = 'config/paths.php'

$seeder

public static mixed $seeder = \App\Database\Seeds\DatabaseSeeder::class

Methods

config()

Get or generate aloe config

public static config() : mixed

paths()

Get or generate aloe paths

public static paths([mixed $path = null ]) : mixed
Parameters
$path : mixed = null

rootpath()

Get project rootpath

public static rootpath([mixed $file = null ]) : mixed
Parameters
$file : mixed = null

        
On this page

Search results