jasonsnider/tinker-mvc

View on GitHub
core/plugin/TinkerPlugin/src/Model/TinkerPlugin.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
/**
 * TinkerPlugin Model
 */
namespace TinkerPlugin\Model;

/**
 * TinkerPlugin Model
 * 
 * This is a simple mock up of a model. A fully developed version would likely 
 * return a result set from a database query, contents of a file, etc.
 */
class TinkerPlugin
{

    /**
     * Returns a welcom message
     * @return string
     */
    public function welcome()
    {
        return 'Welcome to TinkerMVC';
    }
}