public function openWithTruncate()
    {
        $this->open();
        $this->content->truncate(0);
        $time               = time();
        $this->lastAccessed = $time;
        $this->lastModified = $time;
    }
public function openWithTruncate()
    {
        $this->open();
        $this->content->truncate(0);
        $time               = time();
        $this->lastAccessed = $time;
        $this->lastModified = $time;
    }
public function openWithTruncate ( ) { $ this -> open ( ) ; $ this -> content -> truncate ( 0 ) ; $ time = time ( ) ; $ this -> lastAccessed = $ time ; $ this -> lastModified = $ time ; }
open file and truncate content

@since  0.9
open file and truncate content