Constraint_type::__construct PHP Метод

__construct() публичный Метод

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