• <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>
  • 教你一步一步寫一個phpunit testcase(4)

    發表于:2017-06-01來源:葉左左作者:葉左左點擊數: 標簽:PHPUnit
    __construct ($id, $name, $email) { $this -id = $id; $this -name = $name; $this -email = $email; }} User類很單純,主要就是建立User對象。 src/PHPUnitEventDemo/Event.php ?php namespace PHPU
    __construct($id, $name, $email) { $this->id = $id; $this->name = $name; $this->email = $email; } }

    User類很單純,主要就是建立User對象。

    src/PHPUnitEventDemo/Event.php

    <?php
    
    namespace PHPUnitEventDemo;
    
    /**
     * Class Event
     *
     * @package PHPUnitEventDemo
     */
    class Event {
        /**
         * @var int event id
         */
        public $id;
    
        /**
         * @var string 事件名
         */
        public $name;
    
        /**
         * @var string 事件開始時間
         */
        public $startDate;
    
        /**
         * @var string 事件結束時間
         */
        public $endDate;
    
        /**
         * @var int 參加者限制
         */
        public $attendLimit;
    
        /**
         * @var array 參加者列表
         */
        public $attendArr = array();
    
        /**
         * Event constructor.
         *
         *  
    
    
    
               

    原文轉自:http://www.jianshu.com/p/ba6829a6f3ec

    老湿亚洲永久精品ww47香蕉图片_日韩欧美中文字幕北美法律_国产AV永久无码天堂影院_久久婷婷综合色丁香五月

  • <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>