Constraint_type::__construct PHP 메소드

__construct() 공개 메소드

public __construct ( string $type )
$type string - allowed datatype
    public function __construct($type)
    {
        $this->type = $type;
        parent::__construct();
    }