Skip to content

Serialized output, special configs handled.

Compare
Choose a tag to compare
@beporter beporter released this 07 Jul 22:36
· 25 commits to master since this release
  • You can now use the --serialize command line switch to produce a PHP serialized string, suitable for consumption by other PHP shell scripts.

  • Much code was written to make it possible to map requests like Datasources.default.host to \Cake\Datasource\ConnectionManager::config('default')['host'] for you.

    This works with top-level keys (Datasources), second level keys (Datasources.default) and "deep" keys (Datasources.default.host).

    (The notable exception is EmailTransport, which doesn't have a way of enumerating the named configs it is storing. Basically: EmailTransport.default will work, but just EmailTransport will not-- at least not until cakephp/cakephp#6969 is merged.)