src/Mouf/Reflection/MoufReflectionClass.php
protected function getLastModificationDate() {
    	$parent = $this->getParentClass();
    	if ($parent != null) {
    		return max(filemtime($this->getFileName()), $parent->getLastModificationDate());
    	} else {
    		return filemtime($this->getFileName());
    	}
    }
protected function getLastModificationDate() {
    	$parent = $this->getParentClass();
    	if ($parent != null) {
    		return max(filemtime($this->getFileName()), $parent->getLastModificationDate());
    	} else {
    		return filemtime($this->getFileName());
    	}
    }
protected function getLastModificationDate ( ) { $ parent = $ this -> getParentClass ( ) ; if ( $ parent != null ) { return max ( filemtime ( $ this -> getFileName ( ) ) , $ parent -> getLastModificationDate ( ) ) ; } else { return filemtime ( $ this -> getFileName ( ) ) ; } }
Returns the last modification date of this file or one of the parent classes of this file.
This return actually the last modification date of this file and all parents classes.

This is useful to discard cache records if this file or one of its parents is updated.

TODO: take traits into account.
Returns the last modification date of this file or one of the parent classes of this file . This return actually the last modification date of this file and all parents classes .