public function setParam($param): void
    {
        // prepare params data
        // setup param types
        if (strpos($param, '$') === false) {
            return;
        }

        [$type, $key] = preg_split('/[ $]+/', $param);

        $this->params[$key] = trim($type);
    }
public function setParam($param): void
    {
        // prepare params data
        // setup param types
        if (strpos($param, '$') === false) {
            return;
        }

        [$type, $key] = preg_split('/[ $]+/', $param);

        $this->params[$key] = trim($type);
    }
public function setParam ( $ param ) : void { // prepare params data // setup param types if ( strpos ( $ param , '$' ) === false ) { return ; } [ $ type , $ key ] = preg_split ( '/[ $]+/' , $ param ) ; $ this -> params [ $ key ] = trim ( $ type ) ; }
Set param types

@param  string $param

@return void
Set param types