jasonsnider/tinker-mvc

View on GitHub
App/plugin/Application/src/Model/Application.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
/**
 * TinkerPlugin Model
 */
namespace Application\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 Application
{

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