lib/Serialization.php
final public function to_a()
	{
		foreach ($this->attributes as &$value)
		{
			if ($value instanceof \DateTime)
				$value = $value->format(self::$DATETIME_FORMAT);
		}
		return $this->attributes;
	}
final public function to_a()
	{
		foreach ($this->attributes as &$value)
		{
			if ($value instanceof \DateTime)
				$value = $value->format(self::$DATETIME_FORMAT);
		}
		return $this->attributes;
	}
final public function to_a ( ) { foreach ( $ this -> attributes as & $ value ) { if ( $ value instanceof \ DateTime ) $ value = $ value -> format ( self :: $ DATETIME_FORMAT ) ; } return $ this -> attributes ; }
Returns the attributes array.
@return array
Returns the attributes array .