Netson\L4gettext\L4gettext::hasEncoding PHP 메소드

hasEncoding() 공개 메소드

method to check if an encoding has been set
public hasEncoding ( ) : boolean
리턴 boolean
    public function hasEncoding()
    {
        // check if encoding has been set
        if (isset($this->encoding) && !is_null($this->encoding)) {
            return true;
        } else {
            return false;
        }
    }