src/Models/Database/Product.php
public function getProductAllProperties()
    {
        $collection = Collection::make([]);

        foreach ($this->productVarcharProperties as $item) {
            $collection->push($item);
        }

        foreach ($this->productBooleanProperties as $item) {
            $collection->push($item);
        }

        foreach ($this->productTextProperties as $item) {
            $collection->push($item);
        }

        foreach ($this->productDecimalProperties as $item) {
            $collection->push($item);
        }

        foreach ($this->productDecimalProperties as $item) {
            $collection->push($item);
        }

        foreach ($this->productIntegerProperties as $item) {
            $collection->push($item);
        }

        foreach ($this->productDatetimeProperties as $item) {
            $collection->push($item);
        }

        return $collection;
    }
public function getProductAllProperties()
    {
        $collection = Collection::make([]);

        foreach ($this->productVarcharProperties as $item) {
            $collection->push($item);
        }

        foreach ($this->productBooleanProperties as $item) {
            $collection->push($item);
        }

        foreach ($this->productTextProperties as $item) {
            $collection->push($item);
        }

        foreach ($this->productDecimalProperties as $item) {
            $collection->push($item);
        }

        foreach ($this->productDecimalProperties as $item) {
            $collection->push($item);
        }

        foreach ($this->productIntegerProperties as $item) {
            $collection->push($item);
        }

        foreach ($this->productDatetimeProperties as $item) {
            $collection->push($item);
        }

        return $collection;
    }
public function getProductAllProperties ( ) { $ collection = Collection :: make ( [ ] ) ; foreach ( $ this -> productVarcharProperties as $ item ) { $ collection -> push ( $ item ) ; } foreach ( $ this -> productBooleanProperties as $ item ) { $ collection -> push ( $ item ) ; } foreach ( $ this -> productTextProperties as $ item ) { $ collection -> push ( $ item ) ; } foreach ( $ this -> productDecimalProperties as $ item ) { $ collection -> push ( $ item ) ; } foreach ( $ this -> productDecimalProperties as $ item ) { $ collection -> push ( $ item ) ; } foreach ( $ this -> productIntegerProperties as $ item ) { $ collection -> push ( $ item ) ; } foreach ( $ this -> productDatetimeProperties as $ item ) { $ collection -> push ( $ item ) ; } return $ collection ; }
Get All Properties for the Product.

@param Collection $collection
@return \Illuminate\Support\Collection
Get All Properties for the Product .