src/Styling.php
public function getClass($type)
    {
        if (!isset($this->cls[$type])) {
            throw new \InvalidArgumentException('Invalid type');
        }
        return $this->cls[$type];
    }
public function getClass($type)
    {
        if (!isset($this->cls[$type])) {
            throw new \InvalidArgumentException('Invalid type');
        }
        return $this->cls[$type];
    }
public function getClass ( $ type ) { if ( ! isset ( $ this -> cls [ $ type ] ) ) { throw new \ InvalidArgumentException ( 'Invalid type' ) ; } return $ this -> cls [ $ type ] ; }
Returns the class used to wrap scalar types.

\param string $type
Name of a scalar type that can be wrapped
by this class automatically. Must be one
of "int", "string" or "float".

\retval string
Name of the class that can be used to wrap
variables of the given type.
Returns the class used to wrap scalar types .