UserName.php #1

  • //
  • guest/
  • thomas_gray/
  • jambox/
  • main/
  • swarm/
  • library/
  • P4/
  • Validate/
  • UserName.php
  • View
  • Commits
  • Open Download .zip Download (495 B)
<?php
/**
 * Validates string for suitability as a Perforce user name.
 * Extends key-name validator to provide a place to customize
 * validation.
 *
 * @copyright   2011 Perforce Software. All rights reserved.
 * @license     Please see LICENSE.txt in top-level folder of this distribution.
 * @version     <release>/<patch>
 */

namespace P4\Validate;

class UserName extends KeyName
{
    protected $allowSlashes     = true;     // SLASH
    protected $allowRelative    = true;     // REL
}
# Change User Description Committed
#1 18334 Liz Lam initial add of jambox