PHP Classes

File: StrictFloat.php

Recommend this page to a friend!
  Classes of Martin Alterisio  >  Type Hint Class  >  StrictFloat.php  >  Download  
File: StrictFloat.php
Role: Class source
Content type: text/plain
Description: StrictFloat TypeHint
Class: Type Hint Class
Implement type hinting support for base PHP types
Author: By
Last change: Accessible without user login
Date: 14 years ago
Size: 599 bytes


Class file image Download
 * @package typehintclass

 * Type hint class for values that are native php floats.
final class StrictFloat implements TypeHint {
     * Type hint class, cannot be instantiated nor extended.
private function __construct() { }
     * 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) {

For more information send a message to info at phpclasses dot org.