This example has shown above on this page (https://github.com/kohana/core/pull/404/files#diff-5d32bf6c922bb288acc32672a72acdf4R11)