public function merge(ClassMetadata $object)
    {
        $createdAt = $this->createdAt;

        if (($otherCreatedAt = $object->getCreatedAt()) > $createdAt) {
            $createdAt = $otherCreatedAt;
        }

        return new self($this->className, $createdAt);
    }
public function merge(ClassMetadata $object)
    {
        $createdAt = $this->createdAt;

        if (($otherCreatedAt = $object->getCreatedAt()) > $createdAt) {
            $createdAt = $otherCreatedAt;
        }

        return new self($this->className, $createdAt);
    }
public function merge ( ClassMetadata $ object ) { $ createdAt = $ this -> createdAt ; if ( ( $ otherCreatedAt = $ object -> getCreatedAt ( ) ) > $ createdAt ) { $ createdAt = $ otherCreatedAt ; } return new self ( $ this -> className , $ createdAt ) ; }
Returns a new NullClassMetadata with the highest createdAt.

No actual merging is performed as NullClassMetadata can't hold
any data and it's not possible to determine which ClassMetadata
implementation must be used.

Only the createdAt of the object is used if it's higher then
the current createdAt value.

@param ClassMetadata $object Another MergeableClassMetadata object.

@return NullClassMetadata
Returns a new NullClassMetadata with the highest createdAt .