private function extractExpiration(File $file) {

		$expiration = explode('-', $file -> entity() -> getName());

		if(count($expiration) > 2) {
			return (object) ['time' => $expiration[2], 'expiration' => $expiration[1]];
		}

		return (object) ['time' => 0, 'expiration' => 0];
	}
private function extractExpiration(File $file) {

		$expiration = explode('-', $file -> entity() -> getName());

		if(count($expiration) > 2) {
			return (object) ['time' => $expiration[2], 'expiration' => $expiration[1]];
		}

		return (object) ['time' => 0, 'expiration' => 0];
	}
private function extractExpiration ( File $ file ) { $ expiration = explode ( '-' , $ file -> entity ( ) -> getName ( ) ) ; if ( count ( $ expiration ) > 2 ) { return ( object ) [ 'time' => $ expiration [ 2 ] , 'expiration' => $ expiration [ 1 ] ] ; } return ( object ) [ 'time' => 0 , 'expiration' => 0 ] ; }
Returns the expiration time of cache file
@param sFire\System\File $file
@return object
Returns the expiration time of cache file