src/objects/route/CallReference.php
public function setMethod($route)
		{
			// variables
			$methodUri      = trim(substr($route, strlen($this->route)), '/');
			$segments       = explode(',', $methodUri);

			// properties
			$this->method    = array_shift($segments);

			// return
			return $this;
		}
public function setMethod($route)
		{
			// variables
			$methodUri      = trim(substr($route, strlen($this->route)), '/');
			$segments       = explode(',', $methodUri);

			// properties
			$this->method    = array_shift($segments);

			// return
			return $this;
		}
public function setMethod ( $ route ) { // variables $ methodUri = trim ( substr ( $ route , strlen ( $ this -> route ) ) , '/' ) ; $ segments = explode ( ',' , $ methodUri ) ; // properties $ this -> method = array_shift ( $ segments ) ; // return return $ this ; }
Determines the method to call

@param $route
@return $this
Determines the method to call