PHP Classes
elePHPant
Icontem

File: phpcf-src/test/expected/phpdoc.php

Recommend this page to a friend!
  Classes of Alex Krash  >  PHP Code formatter  >  phpcf-src/test/expected/phpdoc.php  >  Download  
File: phpcf-src/test/expected/phpdoc.php
Role: Unit test script
Content type: text/plain
Description: Unit test script
Class: PHP Code formatter
Reformat PHP code according to standard options
Author: By
Last change:
Date: 4 years ago
Size: 402 bytes
 

Contents

Class file image Download
<?php
class Test
{
   
/**
     * Set user id
     *
     * @param int $user_id User id
     * @return Folder_Section_Entry_SectionUser
     */
   
public function setUserId($user_id)
    {
        return
$this->_set('uid', $user_id, self::TYPE_INT);
    }

   
/**
     * Get user id
     *
     * @return int
     */
   
public function getUserId()
    {
        return
$this->_get('uid');
    }
}