PHP Classes

File: src/Traits/CanRenderInlineTrait.php

Recommend this page to a friend!
  Classes of Derek McLean   HTML Forms   src/Traits/CanRenderInlineTrait.php   Download  
File: src/Traits/CanRenderInlineTrait.php
Role: Class source
Content type: text/plain
Description: Class source
Class: HTML Forms
Generate and validate submitted HTML forms
Author: By
Last change:
Date: 6 years ago
Size: 546 bytes
 

Contents

Class file image Download
<?php
/**
 * Created by PhpStorm.
 * User: DM0C60544
 * Date: 15/12/2016
 * Time: 12:32 PM
 */

namespace Del\Form\Traits;


trait
CanRenderInlineTrait
{
   
/** @var bool $renderInline */
   
private $renderInline;

   
/**
     * @return boolean
     */
   
public function isRenderInline()
    {
        return
$this->renderInline;
    }

   
/**
     * @param boolean $renderInline
     * @return $this
     */
   
public function setRenderInline($renderInline)
    {
       
$this->renderInline = $renderInline;
        return
$this;
    }
}