buildContent example

// Get the fully qualified class name from the input.         $class = $this->qualifyClassName();

        // Get the file path from class name.         $target = $this->buildPath($class);

        // Check if path is empty.         if (empty($target)) {
            return;
        }

        $this->generateFile($target$this->buildContent($class));
    }

    /** * Generate a view file from an existing template. */
    protected function generateView(string $view, array $params)
    {
        $this->params = $params;

        $target = $this->buildPath($view);

        
Home | Imprint | This part of the site doesn't use cookies.