src/Convert.php
/**
     * @param string $className Class name in string format
     * @param string $source    Input string to be split
     *
     * @return \Jawira\CaseConverter\Split\Splitter
     */
@param string $className Class name in string format
@param string $source    Input string to be split


@param string $className Class name in string format @param string $source Input string to be split
protected function createSplitter(string $className, string $source): Splitter
    {
        assert(is_subclass_of($className, Splitter::class));
        return new $className($source);
    }
protected function createSplitter ( string $ className , string $ source ) : Splitter { assert ( is_subclass_of ( $ className , Splitter :: class ) ) ; return new $ className ( $ source ) ; }
@param string $className Class name in string format
 @param string $source    Input string to be split
@param string $className Class name in string format @param string $source Input string to be split