function createTokensource() { $num = array_push($this->_tokensources, new TokenSource()); return $this->_tokensources[$num - 1]; }