PHP Classes

File: tests/Fakerino/Test/Fixtures/TestEntity.php

Recommend this page to a friend!
  Classes of Nicola Pietroluongo   Fakerino   tests/Fakerino/Test/Fixtures/TestEntity.php   Download  
File: tests/Fakerino/Test/Fixtures/TestEntity.php
Role: Unit test script
Content type: text/plain
Description: Unit test script
Class: Fakerino
Generate fake names and other types of fake data
Author: By
Last change: fix code style, add more test for the fake table feature
Date: 7 years ago
Size: 1,437 bytes
 

Contents

Class file image Download
<?php
/**
 * Created by PhpStorm.
 * User: deus
 * Date: 25/02/15
 * Time: 23.20
 */

namespace Fakerino\Test\Fixtures;

class
TestEntity
{
    static public
$four;
    static private
$five;
    public
$one;
    protected
$three;
    private
$two;
    private
$surname;
    private
$notAccessible;

    public static function
getFour()
    {
        return
self::$four;
    }

    public static function
setFour($four)
    {
       
self::$four = $four;
    }

    public static function
getFive()
    {
        return
self::$five;
    }

    public static function
setFive($five)
    {
       
self::$five = $five;
    }

    public function
getOne()
    {
        return
$this->one;
    }

    public function
setOne($one)
    {
        return;
    }

    public function
getTwo()
    {
        return
$this->two;
    }

    public function
setTwo($two)
    {
       
$this->two = $two;
    }

    public function
getThree()
    {
        return
$this->three;
    }

    public function
setThree($three)
    {
       
$this->three = $three;
    }

    public function
getSurname()
    {
        return
$this->surname;
    }

    public function
setSurname($surname)
    {
       
$this->surname = $surname;
    }

    private function
setNotAccessible($notAccessible)
    {
       
$this->$notAccessible = $notAccessible;
    }

    private function
getNotAccessible($notAccessible)
    {
        return
$this->$notAccessible;
    }

}