junkins/tongue

Tongue is CakePHP controller action **dirty** TypeHinting plugin.

Maintainers

Package info

github.com/Junkins/Tongue

Type:cakephp-plugin

pkg:composer/junkins/tongue

Statistics

Installs: 4 697

Dependents: 0

Suggesters: 0

Stars: 2

Open Issues: 0

1.0.1 2014-11-26 05:29 UTC

This package is auto-updated.

Last update: 2026-03-01 00:20:41 UTC


README

"Tongue" is CakePHP controller action dirty "TypeHinting" plugin.

Usage

// PostsController.php
    public $components = [
        'Tongue.Tongue'
    ];

    public function view(TNumeric $id) { // <= TypeHinting!!!
        $post = $this->Post->findById($id);
        $this->set(compact('post'));
    }

License

The MIT License