[ create a new paste ] login | about

Link: http://codepad.org/Ze53eT4o    [ raw code | fork ]

PHP, pasted on Jun 19:
<?php
/**
 * THIS IS THE DATA CONTAINER
 *
 */

namespace Namespace\Custom\Api\Data;

/**
 * Interface CustomInterface
 * @package Namespace\Custom\api\Data
 * @api
 */
interface CustomInterface
{
    /**
     * @return int
     */
    public function getId();

    /**
     * @param int $id
     * @return $this
     */
    public function setId($id);

    /**
     * @return string
     */
    public function getCustomName();

    /**
     * @param string $customName
     * @return $this
     */
    public function setCustomName($customName);
}


Create a new paste based on this one


Comments: