Pheasant\Types\UnixTimestampType::marshal PHP Method

marshal() public method

* (non-phpdoc)
See also: Pheasant\Type::marshal
public marshal ( $value )
    public function marshal($value)
    {
        return new TypedValue($value->getTimestamp());
    }