protected function getCssResource()
    {
        $handle = fopen("php://memory", "rw");
        fputs($handle, $this->getPreparedCssContent());
        rewind($handle);

        return $handle;
    }