src/Index.php
public function setContent($content)
    {
        //argument 1 must be string
        Argument::i()->test(1, 'string');

        try {
            $this->absolute();
        } catch (\Eden\Path\Exception $e) {
            $this->touch();
        }

        file_put_contents($this->data, $content);

        return $this;
    }
public function setContent($content)
    {
        //argument 1 must be string
        Argument::i()->test(1, 'string');

        try {
            $this->absolute();
        } catch (\Eden\Path\Exception $e) {
            $this->touch();
        }

        file_put_contents($this->data, $content);

        return $this;
    }
Creates a file and puts specified content into that file

@param *string $content The raw content to save

@return Eden\File\Index