Skip to content

Instantly share code, notes, and snippets.

@takahashi-h5
Last active March 24, 2020 12:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save takahashi-h5/68e9c3eb9b49bd32693c7af2609f88d8 to your computer and use it in GitHub Desktop.
Save takahashi-h5/68e9c3eb9b49bd32693c7af2609f88d8 to your computer and use it in GitHub Desktop.
<?php
namespace App\Models;
use Phalcon\Validation;
class Empuser extends \Phalcon\Mvc\Model
{
public function validation()
{
// とりあえずこれだけ
$validator = new Validation();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment