mossengine/helpersstatement

A PHP sub library for the Mossengine/Helper library that provides Statement helper functions

1.0.1 2021-06-25 17:34 UTC

This package is auto-updated.

Last update: 2024-05-04 19:38:32 UTC


README

A PHP sub library for the Mossengine/Helper library that provides Statement helper functions

Source Code Download Package PHP Programming Language Build Status Codecov Code Coverage Read License Package downloads on Packagist

About

This library can be used on it's own, however, it is intended to be used with the Mossengine/Helper library.

There is a group of Statement type classes with single methods within that single out logic only needed for the given use, you can call them directly or using the Mossgnein Helper you can call into them simply without needing to use them in your project.

Installation

Using composer to install

$ composer require mossengine/helpersstatement

Adding to package.json

{
    "require": {
        "mossengine/helpersstatement": "~1.0.0"
    }
}

Usage

Call helper method on a specific helper class

// Require the autoloader, normal composer stuff
require 'vendor/autoload.php';

// Direct usage ( not intended )
$result = Mossengine\Helpers\_Statement\_Is::_Is(1, '===', 1);

// Mossengine Helper usage ( intended )
$result = Mossengine\Helper::Statement()->Is(1, '===', 1);

Documentation

Read the docs for more details on Helpers Statement methods.