Login   Register  
PHP Classes
elePHPant
Icontem

File: TypeHint.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Martin Alterisio  >  Type Hint Class  >  TypeHint.php  >  Download  
File: TypeHint.php
Role: Class source
Content type: text/plain
Description: TypeHint Interface
Class: Type Hint Class
Implement type hinting support for base PHP types
Author: By
Last change: Accessible without user login
Date: 6 years ago
Size: 415 bytes
 

Contents

Class file image Download
<?php
/**
 * @package typehintclass
 */

/**
 * An interface to classes that stand for objects of another type.
 */
interface TypeHint {
    
/**
     * Indicates if this class represents a type hint for provided value.
     * @param mixed $value The value.
     * @return bool True if this class represents a type hint for that value.
     */
    
public static function isTypeHintFor($value);
}
?>