MOON
Server: Apache
System: Linux server1.studioinfinity.com.br 2.6.32-954.3.5.lve1.4.90.el6.x86_64 #1 SMP Tue Feb 21 12:26:30 UTC 2023 x86_64
User: artinside (517)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/artinside/public_html/lhh/vendor/tiagosampaio/data-object/src/DataObjectInterface.php
<?php

declare(strict_types = 1);

namespace TiagoSampaio;

/**
 * Interface DataObjectInterface
 * @package TiagoSampaio
 */
interface DataObjectInterface
{
    /**
     * @param string $key
     * @return mixed
     */
    public function getData($key = null);
    
    /**
     * @param string $key
     * @return boolean
     */
    public function hasData($key);
    
    /**
     * @param string $key
     * @param mixed $value
     * @return $this
     */
    public function setData($key, $value = null);
    
    /**
     * @param null|string $key
     * @return $this
     */
    public function unsetData($key = null);
    
    /**
     * @param array $data
     * @return $this
     */
    public function addData(array $data = []);
    
    /**
     * @return $this
     */
    public function resetData();
    
    /**
     * @return array
     */
    public function debug();
    
    /**
     * @param array $fields
     *
     * @return array
     */
    public function export(array $fields = []);
    
    /**
     * @return boolean
     */
    public function isEmpty();
}