Overview
  • Namespace
  • Class
  • Tree

Namespaces

  • PHP
  • Yiinitializr
    • Cli
    • Clio
    • Composer
    • Helpers

Classes

  • ArrayX
  • Config
  • Initializer

Class Config

Config provides easy access to Yiinitializr configuration file

Namespace: Yiinitializr\Helpers
Package: Yiinitializr\helpers
Author: Antonio Ramirez <amigo.cobos@gmail.com>
Since: 1.0
Located at Helpers/Config.php

Methods summary

public static mixed
# value( mixed $value )

Returns a value of the array

Returns a value of the array

Parameters

$value
mixed
$value

Returns

mixed
| null if no key is found
public static array|mixed
# settings( )

Reads the configuration settings from the file

Reads the configuration settings from the file

Returns

array|mixed

Throws

Exception
public static
# createEnvironmentLockFile( string $content = '' )

Parameters

$content
string
$content
public static string
# getConfigurationDirectoryPath( )

Returns the configuration directory path

Returns the configuration directory path

Returns

string
public static string
# getEnvironmentLockFilePath( )

Returns the environment lock file path

Returns the environment lock file path

Returns

string

Magic methods summary

API documentation generated by ApiGen 2.8.0