Elgg  Version master
Namespaces | Functions | Variables
TimeUsing.php File Reference

Go to the source code of this file.

Namespaces

 Elgg\Traits
 

Functions

 Elgg\Traits::getCurrentTime ($modifier= '')
 Get the (cloned) time. More...
 
 Elgg\Traits::setCurrentTime (\DateTime $time=null)
 Set the current time. More...
 
 Elgg\Traits::resetCurrentTime ()
 Reset the current time Use after the time has been set with setCurrentTime and it no longer needs to be locked. More...
 

Variables

trait Elgg\Traits::TimeUsing
 Adds methods for setting the current time (for testing) More...