Phpml\Preprocessing\Normalizer::__construct PHP Метод

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

public __construct ( integer $norm = self::NORM_L2 )
$norm integer
    public function __construct(int $norm = self::NORM_L2)
    {
        if (!in_array($norm, [self::NORM_L1, self::NORM_L2])) {
            throw NormalizerException::unknownNorm();
        }
        $this->norm = $norm;
    }