pQuery\TokenizerBase::getWhitespace PHP 메소드

getWhitespace() 공개 메소드

Returns whitespace characters as string/array
또한 보기: setWhitespace()
public getWhitespace ( boolean $as_string = true ) : string | array
$as_string boolean Should the result be a string or an array?
리턴 string | array
    function getWhitespace($as_string = true)
    {
        $ws = array_keys($this->whitespace);
        return $as_string ? implode('', $ws) : $ws;
    }