ice framework documentation ice doc v1.6.2
Methods
  • __construct(variable $data) : void
    Env constructor.
  • has(string $key) : bool
    Check whether environment has the key.
  • get(string $key, variable $defaultValue, bool $required) : void
    Retrieve a single key from the environment.
  • set(string $key, variable $value) : void
    Assigns a value to the specified environment key.
  • remove(string $key) : void
    Remove environment key.
  • getData() : array
    Fetch all data.
Methods Details
  • public function __construct(variable $data)

    Env constructor.
  • public function has(string $key)

    Check whether environment has the key.
  • public function get(string $key, variable $defaultValue, bool $required)

    Retrieve a single key from the environment.
  • public function set(string $key, variable $value)

    Assigns a value to the specified environment key.
  • public function remove(string $key)

    Remove environment key.
  • public function getData()

    Fetch all data.