public function touch($created = null, $lastAccessed = null) {
		$created = $created instanceof DateTime
			? $created->getTimestamp() 
			: ($created === null ? time() : $created);
		$lastAccessed = $lastAccessed instanceof DateTime
			? $lastAccessed->getTimestamp()
			: ($lastAccessed === null ? time() : $lastAccessed);

		if (!@touch($this->pathname, $created, $lastAccessed)) {
			throw new FileException(sprintf('Failed to touch file at %s', $this->pathname));
		}
	}
public function touch($created = null, $lastAccessed = null) {
		$created = $created instanceof DateTime
			? $created->getTimestamp() 
			: ($created === null ? time() : $created);
		$lastAccessed = $lastAccessed instanceof DateTime
			? $lastAccessed->getTimestamp()
			: ($lastAccessed === null ? time() : $lastAccessed);

		if (!@touch($this->pathname, $created, $lastAccessed)) {
			throw new FileException(sprintf('Failed to touch file at %s', $this->pathname));
		}
	}
public function touch ( $ created = null , $ lastAccessed = null ) { $ created = $ created instanceof DateTime ? $ created -> getTimestamp ( ) : ( $ created === null ? time ( ) : $ created ) ; $ lastAccessed = $ lastAccessed instanceof DateTime ? $ lastAccessed -> getTimestamp ( ) : ( $ lastAccessed === null ? time ( ) : $ lastAccessed ) ; if ( ! @ touch ( $ this -> pathname , $ created , $ lastAccessed ) ) { throw new FileException ( sprintf ( 'Failed to touch file at %s' , $ this -> pathname ) ) ; } }
Touches the file

@param int|DateTime $created
@param int|DateTime $lastAccessed
@throws FileException when something goes wrong
Touches the file