Copied!
    CloneableInstantiable
    Methods
    public __construct( $element, string $attributeName)
     

    Creates a list of space-separated tokens based on the attribute value of an element.

    public __get(string $name)
     

    Returns the value for the property specified.

    public __toString() : string
    public add(string $tokens)
     
      public contains(string $token) : bool
       
        public entries() : ArrayIterator
         
          public item(int $index)
          public remove(string $tokens)
           
            public replace(string $old, string $new)
             
              public toggle(string $token, ?bool $force = NULL) : bool
               
                Properties
                private $attributeName
                private $element
                private $previousValue
                private $tokens
                 
                Methods
                private setAttributeValue()
                private tokenize()
                © 2023 Bruce Wells
                Search Namespaces \ Classes
                Configuration