src/Bcol/Component/Type/Pattern.php
public function matchAll($subject, array &$matches = null, $flags = PREG_PATTERN_ORDER, $offset = 0)
    {
        $subject = new String($subject);

        return preg_match_all($this->getValue(), $subject->getValue(), $matches, $flags, $offset);
    }
public function matchAll($subject, array &$matches = null, $flags = PREG_PATTERN_ORDER, $offset = 0)
    {
        $subject = new String($subject);

        return preg_match_all($this->getValue(), $subject->getValue(), $matches, $flags, $offset);
    }
@param string|String $subject
@param array         $matches = null
@param int           $flags   = PREG_PATTERN_ORDER
@param int           $offset  = 0

@return int