original_string: public function event( $event ) 
  	{
  		// call the wake event
  		if ( is_string( $this->namespace ) ) 
  		{
  			if ( strpos( $event, '::' ) !== false ) 
  			{
  				$callback = explode( '::', $event );
  				$class = $this->namespace."\\".$callback[0];
  				
  				if ( class_exists( $class ) ) 
  				{
  					call_user_func( array( $this, $callback[1] ) );
  				}
  			} 
  			else 
  			{
  				if ( is_file( $this->path.$event ) ) 
  				{
  					require $this->path.$event;
  				}
  			}
  		} 
  		else
  		{
  			if ( is_file( $this->path.$event ) )
  			{
  				require $this->path.$event;
  			}
  		}
  	}
code: public function event( $event ) 
  	{
  		// call the wake event
  		if ( is_string( $this->namespace ) ) 
  		{
  			if ( strpos( $event, '::' ) !== false ) 
  			{
  				$callback = explode( '::', $event );
  				$class = $this->namespace."\\".$callback[0];
  				
  				if ( class_exists( $class ) ) 
  				{
  					call_user_func( array( $this, $callback[1] ) );
  				}
  			} 
  			else 
  			{
  				if ( is_file( $this->path.$event ) ) 
  				{
  					require $this->path.$event;
  				}
  			}
  		} 
  		else
  		{
  			if ( is_file( $this->path.$event ) )
  			{
  				require $this->path.$event;
  			}
  		}
  	}
code_tokens: public function event ( $ event ) { // call the wake event if ( is_string ( $ this -> namespace ) ) { if ( strpos ( $ event , '::' ) !== false ) { $ callback = explode ( '::' , $ event ) ; $ class = $ this -> namespace . "\\" . $ callback [ 0 ] ; if ( class_exists ( $ class ) ) { call_user_func ( array ( $ this , $ callback [ 1 ] ) ) ; } } else { if ( is_file ( $ this -> path . $ event ) ) { require $ this -> path . $ event ; } } } else { if ( is_file ( $ this -> path . $ event ) ) { require $ this -> path . $ event ; } } }
docstring: run an event on this object
docstring_tokens: run an event on this object