Transphporm\Config::createPseudoMatcher PHP Method

createPseudoMatcher() public method

public createPseudoMatcher ( $pseudo )
    public function createPseudoMatcher($pseudo)
    {
        $pseudoMatcher = new Hook\PseudoMatcher($pseudo, $this->valueParser);
        foreach ($this->pseudo as $pseudoFunction) {
            $pseudoMatcher->registerFunction(clone $pseudoFunction);
        }
        return $pseudoMatcher;
    }