FRED™  3.0
FRED™: Framework for Rapid and Easy Development
Color.php
Go to the documentation of this file.
1 <?php
2 
4 
5 class Color extends Char{
6 
7  public $regex = '/^#[\\da-fA-F]{6}$/';
8  public $max = 7;
9 
10  public function format($value){
11  return \Rsi\Color::toHex($value);
12  }
13 
14 }