Skip to content

kaihiro/Tongue

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tongue

"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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%