Duplicate code is one of the most pungent code smells. A rule that is often used is to re-structure code once it is duplicated in three or more places.
Common duplication problems, and corresponding solutions are:
| 1 | <?php |
||
| 14 | class DummyCommand extends \N98\Magento\Command\AbstractMagentoCommand |
||
| 15 | { |
||
| 16 | protected $sizes = array( |
||
| 17 | 'XXS', 'XS', 'S', 'M', 'L', 'XL', 'XXL', 'XXXL', '37', '38', |
||
| 18 | '39', '40', '41', '42', '43', '44', '45', '46', '47', '48', '49', '50', '51', '52', '53', '54', '55', '56', |
||
| 19 | '57', '58', '59', '60', |
||
| 20 | ); |
||
| 21 | protected $designer = array( |
||
| 22 | '08Sircus', '11 By Boris Bidjan Saberi', '1-100', '3.1 Phillip Lim', '32 Paradis Sprung Frères', '321', |
||
| 23 | '3X1', '5 Preview', '69', '7 For All Mankind', '8pm', 'S Max Mara', 'A Diciannoveventitre', 'A.F.Vandevorst', |
||
| 24 | 'A.L.C.', 'A.P.C.', 'Aalto', 'Ack', 'Adam Lippes', 'Adidas', 'Adidas By Raf Simons', 'Adidas By Stella Mccartney', |
||
|
|
|||
| 25 | 'Adidas Originals', 'Adieu Paris', 'Ag Jeans', 'Agnona', 'Ahlem', 'Akris', 'Alaïa Vintage', 'Alberta Ferretti', 'Alberta Ferretti Vintage', |
||
| 26 | 'Alberto Biani', 'Alberto Fasciani', 'Alberto Fermani', 'Aleksandr Manamïs', 'Alessandra Marchi', |
||
| 27 | 'Alex Perry', 'Alexa Wagner', 'Alexander McQueen', 'Alexander Wang', 'Alexandre Birman', 'Alexandre Vauthier', |
||
| 28 | 'Alexis Bittar', 'Alexis Mabille', 'Alfred Leder', 'Algenist', 'Alice Archer', 'Alice Waese', 'Alice+Olivia', |
||
| 29 | 'Alinka', 'Alison Lou', 'Alix', 'Allison Bryan', 'Allude', 'Ally Capellino', 'Altruis By Vinaya', 'Altuzarra', |
||
| 30 | 'Alvaro Gonzalez', 'Alyx', 'Amapô', 'Ambush', 'Amedeo', 'Amélie Pichard', 'Amen', 'Ami Alexandre Mattiussi', 'Amo', |
||
| 31 | 'A-Morir', 'Anapsara', 'Ancient Greek Sandals', 'Andrea Marques', 'Andrea Ya aqov', 'Andy Wolf Eyewear', 'Anine Bing', |
||
| 32 | 'Anita Ko', 'Ann Demeulemeester', 'Ann Demeulemeester Blanche', 'Anna Baiguera', 'Anna Karin Karlsson', 'Anna Kosturova', |
||
| 33 | 'Anndra Neen', 'Anne Semonin', 'Anne Sofie Madsen', 'Annelise Michelson', 'Anrealage', 'Anthony Vaccarello', 'Antonia Zander', |
||
| 34 | 'Antonio Berardi', 'Antonio Marras', 'Anya Hindmarch', 'Aperlai', 'Apiece Apart', 'April Chrichton & Nicholas Party', 'Aquazzura', |
||
| 35 | 'Area Di Barbara Bologna', 'Arielle De Pinto', 'Aristide Najean', 'Armani Collezioni', 'Armani Jeans', 'Army Yves Salomon', |
||
| 36 | 'As29', 'Ash', 'Asherali Knopfer', 'Ashish', 'Ashley Pittman', 'Aspesi', 'Assin', 'Assouline', 'Astley Clarke', 'Astraet', |
||
| 37 | 'Atelier Bâba', 'Atelier Buffile', 'Atelier Paulin', 'Athena', 'Atlantic Stars', 'Atlantique Ascoli', 'Atm Anthony Thomas Melillo', |
||
| 38 | 'Aurelia Probiotic Skincare', 'Aurelie Bidermann', 'Ava Adore', 'Avant Toi', 'Avelon', 'Awake', 'B May', |
||
| 39 | 'Badgley Mischka', 'Baja East', 'Bakel', 'Balenciaga Eyewear', 'Balenciaga Vintage', 'Ballin', 'Bally', 'Balmain', 'Bao Bao Issey Miyake', |
||
| 40 | 'Barbara Bui', 'Barbara Casasola', 'Barbara I Gongini', 'Bark', 'Barn\'s', 'Barrie', 'Bassike', 'Bata', 'Bazar Deluxe', |
||
| 41 | 'Bea Bongiasca', 'Beau Souci', 'Becca', 'Beek..', 'Bella Freud', 'Belstaff', 'Bernhard Willhelm', 'Beth Orduna', 'Bhindi Jewelers', |
||
| 42 | 'Bianca Spender', 'Biba Vintage', 'Bibi Van Der Velden', 'Bintthani', 'Bionda Castana', 'Birkenstock', 'Bjorg', 'Blancha', |
||
| 43 | 'Blk Dnm', 'Blugirl', 'Blumarine', 'Boboutic', 'Borbonese', 'Bottega Veneta Eyewear', 'Boutique Moschino', 'Boys Forever', |
||
| 44 | 'Brandon Maxwell', 'Brian Atwood', 'Brioni', 'Brock Collection', 'Brother Vellies', 'Brunello Cucinelli', 'Brute', |
||
| 45 | 'Building Block', 'Bukkehave', 'Bulgari', 'Burberry', 'Burberry Brit', 'Burberry Kids', 'Burberry London', 'Burberry Prorsum', |
||
| 46 | 'Burberry Vintage', 'Buscemi', 'Buttero', 'By Boe', 'By Kilian', 'By Malene Birger', 'By Terry', 'By Walid', 'Byredo', |
||
| 47 | 'Ca&Lou', 'Calleen Cordero', 'Callens', 'Calvin Klein Collection', 'Calvin Klein Jeans', 'Camilla', 'Camilla And Marc', 'Canali', |
||
| 48 | 'Cane + Austin', 'Capucci', 'Car Shoe', 'Carhartt', 'Carin Wester', 'Carl Rotter', 'Carole Shashona', 'Carolina Bucci', |
||
| 49 | 'Carolina Herrera', 'Cartier Vintage', 'Carven', 'Casadei', 'Case Scenario', 'Casey Casey', 'Casio', 'Castañer', 'Catherine Michiels', |
||
| 50 | 'Cazal', 'Cecilia Prado', 'Cecilie Copenhagen', 'Cédric Charlier', 'Céline Eyewear', 'Céline Vintage', 'Cesare Paciotti', |
||
| 51 | 'Chalayan', 'Chanel Eyewear', 'Chanel Vintage', 'Chantecaille', 'Charlet Par Aime', 'Charlotte Chesnais', 'Charlotte Olympia', |
||
| 52 | 'Cherevichkiotvichki', 'Chiara Ferragni', 'Chie Mihara', 'Chinti And Parker', 'Chloé', 'Chloe Gosselin', 'Christian Dior', 'Christian Dior Vintage', |
||
| 53 | 'Christian Koban', 'Christian Lacroix Vintage', 'Christian Siriano', 'Christian Wijnants', 'Christina Debs', 'Christopher Esber', |
||
| 54 | 'Christopher Kane', 'Cinq A Sept', 'Cinzia Araia', 'Cire Trudon', 'Citizens Of Humanity', 'Cityshop', 'Claire Barrow', 'Clarice Price Thomas', |
||
| 55 | 'Claude Montana Vintage', 'Claustrum', 'Closed', 'Co', 'Coach', 'Coco And Breezy', 'Colbert Md', 'Coliac', 'Color Wow', 'Comme Des Garçons', 'Comme Des Garçons Comme Des Garçons', |
||
| 56 | 'Comme Des Garçons Girl', 'Comme Des Garçons Noir Kei Ninomiya', 'Comme Des Garçons Play', 'Comme Des Garçons Tricot', 'Comme Des Garçons Vintage', 'Comme Des Garçons Wallet', |
||
| 57 | 'Common Projects', 'Converse', 'Corlette', 'Cornelia Webb', 'Côte&Ciel', 'Courrèges', 'Courrèges Vintage', 'Cover Fx', 'Creatures Of The Wind', 'Cristina Ortiz', 'Current/Elliott', |
||
| 58 | 'Cushnie Et Ochs', 'Cutler & Gross', 'Cutuli Cult', 'Cvc Stones', 'Dagmar', 'Damir Doma', 'Dana Kellin', 'Dana Rebecca', 'Daniela Gregis', 'Daniela Villegas', 'David Koma', 'Delfina Delettrez', |
||
| 59 | 'Delpozo', 'Derek Lam', 'Derek Lam 10 Crosby', 'Desa Collection', 'Designinverso', 'Dezso', 'Diadora', 'Diane Von Furstenberg', 'Diesel', 'Diesel Black Gold', 'Dima', |
||
| 60 | 'Dimissianos & Miller', 'Dion Lee', 'Dionea Orcini', 'Dior Eyewear', 'Diptyque', 'Dita Eyewear', 'DKNY', 'Dkny Pure', 'Dodo Bar Or', 'Dolce & Gabbana', |
||
| 61 | 'Dominic Jones', 'Dondup', 'Dorateymur', 'Doreen Mellen', 'Dorothee Schumacher', 'Dosa', |
||
| 62 | 'Dovetusai', 'Dr Sebagh', 'Dr. Martens', 'DressCamp', 'Dries Van Noten Eyewear', 'Drome', |
||
| 63 | 'Dsquared2', 'Dusan', 'Duvetica', 'Dylanlex', 'Each X Other', 'Eddie Borgo', |
||
| 64 | 'Edge Of Ember', 'Edie Parker', 'Edun', 'Eggs', 'Egrey', 'Ejxiii', 'Ek Thongprasert', 'Elena Ghisellini', 'Eleventy', 'Elie Saab', 'Elie Tahari', |
||
| 65 | 'Elise Dray', 'Elizabeth And James', 'Ellen Conde', 'Ellery', 'Emanuel Ungaro', 'Emanuel Ungaro Vintage', |
||
| 66 | 'Emanuele Bicocchi', 'Emilio Pucci', 'Emilio Pucci Vintage', 'Emma Hardie', 'Emporio Armani', 'Emporio Armani Vintage', |
||
| 67 | 'Enfants Riches Deprimes', 'Engineered Garments', 'Epos', 'Equipment', 'Erdem', 'Erickson Beamon', |
||
| 68 | 'Erika Cavallini', 'Ermanno Gallamini', 'Ermanno Scervino', 'Escada Vintage', 'Eshvi', 'Espèces', |
||
| 69 | 'Esteban Cortazar', 'Être Cécile', 'Etro', 'Études Studio', 'Eugenia Kim', 'Eve Lom', |
||
| 70 | 'Extreme Cashmere', 'Eyevan7285', 'Eytys', 'Fabiana Filippi', 'Facetasm', 'Factory 900', |
||
| 71 | 'Fad Three', 'Fadeless', 'Faith Connexion', 'Faliero Sarti', 'Family Affair', 'Fannie Schiavoni', 'Fashion Clinic', 'Faustine Steinmetz', 'Fausto Puglisi', 'Fay', 'Federica Moretti', |
||
| 72 | 'Fendi', 'Fendi Vintage', 'Feverish', 'Figue', 'Filles A Papa', 'Filù Hats', 'Fiorentini + Baker', 'Fiya', 'Fleur Du Mal', 'For Love And Lemons', 'For Restless Sleepers', |
||
| 73 | 'Fornasetti', 'Fornasetti Profumi', 'Forte Forte', 'Frame Denim', 'Frances Valentine', 'Francesco Demaria', |
||
| 74 | 'Frank & Eileen', 'Franz Marfurt Lucerne', 'Frency & Mercury', 'Frends', 'Furla', 'G.V.G.V.', |
||
| 75 | 'Gabriela Hearst', 'Gabriella Ingram', 'Galvan', 'Gareth Pugh', 'Garrard', 'Garrett Leight', |
||
| 76 | 'Gas Bijoux', 'Gavello', 'Gaydamak', 'Gcds', 'Gedebe', 'Gemco', 'Geoffrey B. Small', 'Getting Back To Square One', 'Giada Benincasa', 'Giamba', 'Giambattista Valli', |
||
| 77 | 'Gianfranco Ferre Vintage', 'Gianluca Capannolo', 'Gianvito Rossi', 'Gig', 'Gigi Burris Millinery', 'Gigli Vintage', |
||
| 78 | 'GINGER & SMART', 'Giorgio Armani', 'Giorgio Armani Vintage', 'Giorgio Brato', 'Gisele For Eshvi', 'Giuliana Romanno', |
||
| 79 | 'Giuseppe Zanotti Design', 'Givenchy', 'Givenchy Vintage', 'Gold And Wood', 'Golden Goose Deluxe Brand', 'Goldfaden Md', |
||
| 80 | 'Goldsign', 'Good For Nothing Emb', 'Goti', 'Goyard Vintage', 'Greg Lauren', 'Grenson', |
||
| 81 | 'Greta Constantine', 'Grey Ant', 'Grey Jason Wu', 'G-Star', 'Gucci Eyewear', 'Guidi', |
||
| 82 | 'Guild Prime', 'Guy Laroche Vintage', 'Hache', 'Haider Ackermann', 'Hakusan', 'Halston Heritage', |
||
| 83 | 'Hanna Wallmark', 'Harcoza', 'Harris Wharf London', 'Haus', 'Hayward', 'Hector Magazine', |
||
| 84 | 'Heidi Klein', 'Heikki Salonen', 'Helmut Lang', 'Helmut Lang Vintage', 'Hender Scheme', 'Henderson Baracco', |
||
| 85 | 'Henrik Vibskov', 'Henson', 'Hermès Vintage', 'Herno', 'Heroine Sport', 'Herrlicht', 'Hervé Léger', 'Hipanema', 'Hirondelle', 'Hl Heddie Lovu', 'Hogan', |
||
| 86 | 'Hogan Rebel', 'Holiday', 'Hood By Air', 'Hoorsenbuhs', 'Hope', 'Horisaki Design & Handel', |
||
| 87 | 'House Of Holland', 'House Of Voltaire', 'Htc Hollywood Trading Company', 'Hudson', 'Humanoid', 'Hussein Bazaza', |
||
| 88 | 'Iceberg', 'Idonthaveasister', 'Ilana Ariel', 'Ilaria Nistri', 'Ileana Makri', 'Illesteva', 'Iluminage', 'Imogen Belfield', 'Incotex', 'Individual Sentiments', 'Industrie Veneziane', 'Ingie Paris', 'Institut Esthederm', 'Inverni', 'Io Ivana Omazic', 'Iosselliani', |
||
| 89 | 'Irene Neuwirth', 'Iro', 'Isaac Reina', 'Isaac Sellam Experience', 'Isabel Benenato', 'Isabel Marant', 'Isabel Marant Étoile', 'Isabel Marant For Oliver Peoples', 'Isolda', 'Issey Miyake', 'Issey Miyake Cauliflower', |
||
| 90 | 'Issey Miyake Men', 'Issey Miyake Vintage', 'Italia Independent', 'Ivo Scunzani', 'Ivy & Liv', 'Ivy Kirzhner', |
||
| 91 | 'J Brand', 'J.W. Anderson', 'Jacob Cohen', 'Jacquemus', 'Jacques Marie Mage', 'Jacquie Aiche', |
||
| 92 | 'Jagga', 'James Perse', 'James Read', 'Jamin Puech', 'Jane Bowler', 'Janis Savitt', 'Japsis Jewellery', 'Jason Wu', 'Jay Ahr', 'Jc De Castelbajac Vintage', 'Jean Louis Scherrer Vintage', |
||
| 93 | 'Jean Paul Gaultier Vintage', 'Jean-François Mimilla', 'Jean-Michel Cazabat', 'Jeffrey Campbell', 'Jenni Kayne', 'Jeremy Deller', |
||
| 94 | 'Jeremy Scott', 'Jérôme Dreyfuss', 'Jessie Harris', 'Jezebel London', 'Jil Sander', 'Jil Sander Navy', |
||
| 95 | 'Jil Sander Vintage', 'Jimmy Choo', 'Jitrois', 'Joanna Laura Constantine', 'Jocelyn', 'Joëlle Jewellery', |
||
| 96 | 'John Booth', 'John Brevard', 'John Galliano Vintage', 'John Smedley', 'Joie', 'Jonathan Cohen', |
||
| 97 | 'Jonathan Saunders', 'Jonathan Simkhai', 'Joseph', 'Joshua Sanders', 'Jour/Né', 'Jozica', 'Juicy Couture', 'Julien David', 'Junior Gaultier', 'Junya Watanabe Comme Des Garçons', 'Junya Watanabe Comme Des Garçons Vintage', |
||
| 98 | 'Just Cavalli', 'Just Female', 'Jvdf', 'K. Jacques', 'Kamushki', 'Kane Ny', 'Kansai Yamamoto Vintage', 'Karen Walker Eyewear', 'Karolin', 'Kat Burki', 'Katherine Wallach', |
||
| 99 | 'Katrine Kristensen', 'Kaufmanfranco', 'Kdia', 'Kenzo', 'Kenzo Vintage', 'Kevyn Aucoin', 'Khai Khai', 'Khirma Eliazov', 'Kijima Takayuki', 'Kilometre X The Webster', 'Kim Mee Hye', |
||
| 100 | 'Kimberly Mcdonald', 'Kinz Kanaan', 'Kitx', 'Ko Studio', 'Koral', 'Krewe Du Optic', 'Kris Van Assche', 'Kristensen Du Nord', 'Kristin Hanson', 'Krizia Vintage', 'Ksubi', |
||
| 101 | 'KTZ', 'Kuboraum', 'Kyme', 'L.G.R', 'La Brune Et La Blonde', 'La Mania', 'La Perla', 'Label Under Construction', 'Laboratorigarbo', 'Lafayette 148', 'Lala Berlin', |
||
| 102 | 'Lamat', 'Lancer', 'Lanvin', 'Lanvin Vintage', 'Lara Bohinc', 'Lareida', 'Larkspur & Hawk', 'Larsson & Jennings', 'Laura B', 'Lauren Klassen', 'Laurence Dacade', |
||
| 103 | 'Ld Tuttle', 'Le Bon Marche X The Webster', 'Le Ciel Bleu', 'Le Coq Sportif', 'Le Kasha', 'Le Kilt', 'Le Specs', 'Leather Crown', 'Lee Brennan Design', 'Leivankash', 'Lela Rose', |
||
| 104 | 'Lemaire', 'Lemlem', 'Les Petits Joueurs', 'Lesca', 'Levi\'s', 'Linda Farrow', 'Linda Farrow Gallery', 'Lindberg', 'Lipstick Queen', 'Lisa Marie Fernandez', 'Liska', |
||
| 105 | 'Liska Haute Fourrure By Romain Brau', 'Live The Process With Chelsea Leyland', 'Living Proof', 'Lizzie Fortunato Jewels', 'Local Supply', 'Loeffler Randall', 'Loewe', 'Loquet', 'Loree Rodkin', 'Loren Stewart', 'Loro Piana', |
||
| 106 | 'Lost & Found Ria Dunn', 'Lost & Found Rooms', 'Lotos', 'Louis Feraud Vintage', 'Louis Vuitton Vintage', 'Love Moschino', 'Loveless', 'Loyd/Ford', 'Lucas Hugh', 'Lucien Pellat Finet', 'Luis Miguel Howard', |
||
| 107 | 'Luis Morais', 'Luisa Cevese Riedizioni', 'Lulu Guinness', 'Luxury Fashion', 'Lydia Courteille', 'M Missoni', 'M Missoni Vintage', 'M2malletier', 'Ma+', 'Mad Et Len', 'Madame', |
||
| 108 | 'Magda Butrym', 'Maharishi', 'Maison Close', 'Maison Kitsuné', 'Maison Margiela', 'Maison Margiela Vintage', 'Maison Michel', 'Maison Rabih Kayrouz', 'Maison Recuerdo', 'Maison Ullens', 'Maiyet', |
||
| 109 | 'Majestic Filatures', 'Majesty Black', 'Malia Mills', 'Malin+Goetz', 'Malone Souliers', 'Mame', 'Manebi', 'Manning Cartell', 'Manoush', 'Mansur Gavriel', 'Manu Atelier', |
||
| 110 | 'Mara Hoffman', 'Marc Alary', 'Marc By Marc Jacobs', 'Marc Jacobs', 'Marc Le Bihan', 'Marcelo Burlon County Of Milan', 'March La.B', 'Marchesa', 'Marchesa Notte', 'Marco De Vincenzo', 'Maria Black', |
||
| 111 | 'Maria Lucia Hohan', 'Maria Teresa Sottile', 'Marie Helene De Taillac', 'Mark Cross', 'Markus Lupfer', 'Marni', 'Marsèll', 'Marshall', 'Martha Medeiros', 'Martine Jarlgaard', 'Mary Katrantzou', |
||
| 112 | 'Mary Katrantzou X Adidas Originals', 'Maryam Nassir Zadeh', 'Marysia', 'Masnada', 'Massimo Alba', 'Master & Dynamic', 'Masunaga', 'Matar', 'Mathilde Danglade', 'Maticevski', 'Matsuda', |
||
| 113 | 'Matthew Darbyshire', 'Matthew Williamson', 'Mawi', 'Max Mara', 'Max Mara Studio', 'Max Tan', 'Maxime Llorens', 'Maxwell Snow', 'MCM', 'Mcm Vintage', 'McQ Alexander McQueen', |
||
| 114 | 'Me&Mr.Gentleman', 'Melissa + Jeremy Scott', 'Melissa Joy Manning', 'Melissa Odabash', 'Mes Demoiselles', 'Miahatami', 'Miansai', 'Michael Kors', 'Michael Michael Kors', 'Michael Schmidt', 'Michel Vivien', |
||
| 115 | 'Micol Ragni', 'Mih Jeans', 'Mihara Yasuhiro', 'Milly', 'Minimarket', 'Minjukim', 'Minna Parikka', 'Mira Mikati', 'Missoni', 'Missoni Vintage', 'Miu Miu Eyewear', |
||
| 116 | 'Mm6 Maison Margiela', 'Moa Master Of Arts', 'Moeva', 'Monan', 'Moncler', 'Moncler Gamme Rouge', 'Moncler Grenoble', 'Moncler X Erdem', 'Monday Active', 'Monica Sordo', 'Monies', |
||
| 117 | 'Monique Lhuillier', 'Monocle Eyewear', 'Monreal London', 'Moo Piyasombatkul', 'Moohong', 'Moratorium', 'Moreau', 'Moschino', 'Moschino Vintage', 'Mother', 'Mother Of Pearl', |
||
| 118 | 'Mou', 'Movitra', 'Mr & Mrs Italy', 'MSGM', 'Mua Mua', 'Mugler', 'Murmur', 'Musée', 'Muubaa', 'Muveil', 'Mykita', |
||
| 119 | 'Myriam Schaefer', 'Myswear', 'N.Peal', 'Nafsika Skourti', 'Narciso Rodriguez', 'Nasir Mazhar', 'Natasha Collis', 'Natasha Zinko', 'Nathalie Trad', 'Natura Bisse', 'Neil Barrett', |
||
| 120 | 'Nektar De Stagni', 'Neuw', 'Nevermind', 'New Balance', 'Newbark', 'Nicholas Kirkwood', 'Nicole Miller', 'Nicopanda', 'Night Market', 'Nike', 'Nikos Koulis', |
||
| 121 | 'Nili Lotan', 'Nina Ricci', 'Nina Ricci Vintage', 'Nixon', 'Niza Huang', 'Nº21', 'Nobody Denim', 'Nomia', 'Noor Fares', 'Noritamy', 'Norma Kamali', |
||
| 122 | 'Norse Projects', 'NSF', 'Nuface', 'O&M', 'Oamc', 'Obey', 'Occulter', 'Odeeh', 'Odeur', 'Of Rare Origin', 'Officine Creative', |
||
| 123 | 'Off-White', 'Oliver Goldsmith', 'Oliver Peoples', 'Olympia Le-Tan', 'One Oak By Sara', 'Onia', 'Opening Ceremony', 'Organic By John Patrick', 'Orolog By Jaime Hayon', 'Oscar de la Renta', 'Oskia', |
||
| 124 | 'Osman', 'Ouigal', 'P.A.R.O.S.H.', 'Paco Rabanne', 'Paige', 'Palm Angels', 'Paloma Barceló', 'Pamela Love', 'Paname', 'Pantos Paris', 'Paolo Piovan', |
||
| 125 | 'Parfums De Marly', 'Pascia', 'Paul & Joe', 'Paul Andrew', 'Paul Smith', 'Paul Smith Black Label', 'Paula Cademartori', 'Paule Ka', 'Pb 0110', 'Pearl', 'Pearls Before Swine', |
||
| 126 | 'Pedro Garcia', 'Pelle Moda', 'Pepa Pombo', 'Peppercotton', 'Percy And Reed', 'Perricone Md', 'Perrin Paris', 'Persol', 'Persol Vintage', 'Petar Petrov', 'Peter & May Walk', |
||
| 127 | 'Peter Cohen', 'Peter Jensen', 'Peter Non', 'Peter Pilotto', 'Petit Bateau', 'Petralux', 'Phat Buddha', 'Philipp Plein', 'Philippe Model', 'Philosophy Di Lorenzo Serafini', 'Piamita', |
||
| 128 | 'Piazza Sempione', 'Pierre Balmain', 'Pierre Cardin Vintage', 'Pierre Hardy', 'Pierre-Louis Mascia', 'Piers Atkinson', 'Pleats Please By Issey Miyake', 'Pleats Please By Issey Miyake Vintage', 'Plein Sud', 'Pollini', 'Polo Ralph Lauren', |
||
| 129 | 'Pomellato', 'Porter-Yoshida & Co', 'Ports 1961', 'Poupette St Barth', 'Prabal Gurung', 'Prada Eyewear', 'Prada Vintage', 'Pramma', 'Preen By Thornton Bregazzi', 'Premiata', 'Premiata White', |
||
| 130 | 'Prism', 'Proenza Schouler', 'Protagonist', 'PS Paul Smith', 'Pt01', 'Puma', 'Puro Iosselliani', 'R13', 'Rachel Comey', 'Racil', 'Radical Skincare', |
||
| 131 | 'Rag & Bone', 'Rag & Bone /Jean', 'Ralph Lauren', 'Ralph Lauren Black', 'Ralph Lauren Purple', 'Ram', 'Ramy Brook', 'Raquel Allegra', 'Rauwolf', 'Ray-Ban', 'Re/Done', |
||
| 132 | 'Reality Studio', 'Rebecca Minkoff', 'Rebecca Taylor', 'Rebecca Vallance', 'Red Valentino', 'Reebok', 'Reinaldo Lourenço', 'Reinhard Plank', 'Ren', 'René Caovilla', 'Renee So', |
||
| 133 | 'Repetto', 'Retrosuperfuture', 'Rewind Vintage Affairs', 'Rick Owens', 'Rick Owens DRKSHDW', 'Rick Owens Lilies', 'Ritch Erani NYFC', 'Robert Clergerie', 'Roberta Di Camerino Vintage', 'Roberto Cavalli', 'Roberto Collina', |
||
| 134 | 'Roberto Del Carlo', 'Roberto Marroni', 'Rochas', 'Rochelle Sara', 'Rocio', 'Rockins', 'Rodarte', 'Rodebjer', 'Rodial', 'Roksanda', 'Roland Mouret', |
||
| 135 | 'Romeo Gigli Vintage', 'Ros Millar', 'Rosa De La Cruz', 'Rosa Maria', 'Rosamosario', 'Rosantica', 'Rosetta Getty', 'Rosie Assoulin', 'Rovant Antiqu', 'Rta', 'Ruifier', |
||
| 136 | 'Rula Galayini', 'Rundholz', 'Rundholz Black Label', 'Rupert Sanderson', 'Ryan Lo', 'Ryan Roche', 'Sabine G', 'Sacai', 'Sachajuan', 'Saint Laurent', 'Saks Potts', |
||
| 137 | 'Salinas', 'Saloni', 'Salvatore Ferragamo', 'Salvatore Santoro', 'Sam & Lavi', 'Sam Edelman', 'Sama Eyewear', 'Samantha Sung', 'Samira13', 'Samsung By Colombo Via Della Spiga', 'San Lorenzo', |
||
| 138 | 'Sandrine Rose', 'Sandy Liang', 'Santoni', 'Saqqara', 'Sara Battaglia', 'Sara Weinstock', 'Sarah & Sebastian', 'Sarah Angold Studio', 'Sarah Chapman', 'Sarah Chofakian', 'Sarah Noor', |
||
| 139 | 'Sarah’s Bag', 'Sartore', 'Saturnino', 'Saucony', 'Savas', 'Scanlan Theodore', 'Schutz', 'Scunzani Ivo', 'Sea', 'See By Chloé', 'See Concept', |
||
| 140 | 'Seeme', 'Self-Portrait', 'Selin Kent', 'Sener Besim', 'Serapian', 'Sergio Rossi', 'Serpui', 'Shades Of Grey By Micah Cohen', 'Shamballa Jewels', 'Shaun Leane', 'Shinola', |
||
| 141 | 'Shiseido', 'Shourouk', 'Shrimps', 'Shylee Rose', 'Si-Jay', 'Silvano Sassetti', 'Simon Harrison', 'Simon Miller', 'Simona Tagliaferri', 'Simone Rocha', 'Sirciam', |
||
| 142 | 'Sjal', 'Slave To Ancestors', 'Smoke X Mirrors', 'Smythe', 'Smythson', 'Société Anonyme', 'Soha Sardinia', 'Soludos', 'Sonia By Sonia Rykiel', 'Sonia Rykiel', 'Sonia Rykiel Vintage', |
||
| 143 | 'Sophia Webster', 'Sophie Bille Brahe', 'Sophie Hulme', 'Sophie Theallet', 'Soulland', 'Spektre', 'Spencer Vladimir', 'Spinelli Kilcollin', 'Stampd', 'Stefano Mortari', 'Steffen Schraut', |
||
| 144 | 'Stella McCartney', 'Stephan Schneider', 'Stephane Kélian', 'Stephen Sprouse Vintage', 'Stephen Webster', 'Stine Goya', 'Stone', 'Stouls', 'Strut This', 'Stuart Weitzman', 'Studio Chofakian', |
||
| 145 | 'Stussy', 'Stutterheim', 'Suicoke', 'Sun Buddies', 'Sunday Riley', 'Suno', 'Superga', 'Suzusan', 'SW/TCH', 'Swear', 'Swedish Hasbeens', |
||
| 146 | 'Sylvie Schimmel', 'Sylvio Giardina', 'T By Alexander Wang', 'T3', 'Tabitha Simmons', 'Tag Heuer', 'Tagliatore', 'Taher Chemirik', 'Talika', 'Talitha', 'Tamara Mellon', |
||
| 147 | 'Tanya Taylor', 'Tara4779', 'Tata Naka', 'Temperley London', 'Ter Et Bantine', 'The Cambridge Satchel Company', 'The Elder Statesman', 'The Great', 'The Last Conspiracy', 'The Row', 'The Seafarer', |
||
| 148 | 'The Soloist', 'The Webster', 'Theo By Tim Van Steenbergen', 'Theory', 'Thierry Lasry', 'Thierry Mugler Vintage', 'This Works', 'Thom Browne', 'Thom Krom', 'Thomas Wylde', 'Thomasine', |
||
| 149 | 'Thoraval', 'Thorsun', 'Tibi', 'Tobias Wistisen', 'Tod\'s', 'Toga', 'Tom Binns', 'Tomas Maier', 'Tomasini', 'Tome', 'Tone It Up', |
||
| 150 | 'Toogood', 'Tori Praver', 'Tory Burch', 'Trippen', 'Troubadour', 'True Rocks', 'Tsumori Chisato', 'Tu Es Mon Tresor', 'Twin-Set', 'Ugo Cacciatori', 'Ulla Johnson', |
||
| 151 | 'Ulla Soucasse', 'Uma Wang', 'Unconditional', 'Undercover', 'Unif', 'United Nude', 'Unravel', 'Urban Zen', 'Uribe', 'Uzerai Edits', 'V Jewellery', |
||
| 152 | 'V73', 'Valas', 'Valdez Panama Hats', 'Valencia', 'Valentino', 'Valentino Garavani', 'Valery Kovalska', 'Valextra', 'Vanessa Bruno', 'Vanessa Bruno Athé', 'Vans', |
||
| 153 | 'Vava', 'Veneffect', 'Venessa Arizaga', 'Venyx', 'Vera Wang', 'Veronica Beard', 'Veronique Branquinho', 'Veronique Leroy', 'Versace', 'Versace Collection', 'Versace Vintage', |
||
| 154 | 'Versus', 'Very Gavello', 'Vibe Harsløf', 'Victoria Beckham', 'Victoria Beckham Denim', 'Victoria Victoria Beckham', 'Vieri', 'Vince', 'Vince Camuto', 'Visvim', 'Vita Fede', |
||
| 155 | 'Vita Kin', 'Vivetta', 'Vivienne Westwood', 'Vivienne Westwood Anglomania', 'Vivienne Westwood Gold Label', 'Vivienne Westwood Red Label', 'Vojd Studios', 'W.I.T.H.', 'Walter Van Beirendonck Vintage', 'Want Les Essentiels De La Vie', 'Warm-Me', |
||
| 156 | 'Weber Hodel Feder', 'Werkstatt:München', 'Westward Leaning', 'Windle And Moodie', 'Won Hundred', 'Wood Wood', 'Woolrich', 'Wouters & Hendrix', 'Wouters & Hendrix Gold', 'Wrq.E.D', 'Wuki', |
||
| 157 | 'Wunderkind', 'Wwake', 'Wxyz By Laura Wass', 'Y / Project', 'Y-3', 'Y-3 By Yohji Yamamoto Vintage', 'Yang Li', 'Yannis Sergakis', 'Yazbukey', 'Yeezy', 'Yigal Azrouel', |
||
| 158 | 'YMC', 'Yohji Yamamoto', 'Yohji Yamamoto Vintage', 'Yosuzi', 'Yukié Deuxpoints', 'Yves Saint Laurent Vintage', |
||
| 159 | 'Yves Salomon', 'Yvonne Léon', 'Zac Zac Posen', 'Zadig & Voltaire', 'Zanellato', 'Zanone', |
||
| 160 | 'Zanzan', 'Zayiana', 'Zero + Maria Cornejo', 'Zilla', 'Zimmermann', 'Zoe And Morgan', 'Zoe Karssen', 'Zuhair Murad' |
||
| 161 | ); |
||
| 162 | protected $faker; |
||
| 163 | protected $_supported_locales = array( |
||
| 164 | 'en_US', |
||
| 165 | 'en_GB' |
||
| 166 | ); |
||
| 167 | |||
| 168 | protected function configure() |
||
| 185 | |||
| 186 | /** |
||
| 187 | * @param \Symfony\Component\Console\Input\InputInterface $input |
||
| 188 | * @param \Symfony\Component\Console\Output\OutputInterface $output |
||
| 189 | * |
||
| 190 | * @return int|void |
||
| 191 | */ |
||
| 192 | protected function execute(InputInterface $input, OutputInterface $output) |
||
| 233 | |||
| 234 | /** |
||
| 235 | * Manage console arguments |
||
| 236 | * |
||
| 237 | * @param \Symfony\Component\Console\Input\InputInterface $input |
||
| 238 | * @param \Symfony\Component\Console\Output\OutputInterface $output |
||
| 239 | * |
||
| 240 | * @return array |
||
| 241 | */ |
||
| 242 | protected function manageArguments(&$input, &$output) |
||
| 315 | |||
| 316 | /** |
||
| 317 | * Create option type |
||
| 318 | * |
||
| 319 | * @param string $_type |
||
| 320 | * |
||
| 321 | * @return int|string |
||
| 322 | */ |
||
| 323 | protected function createValue($_type, $locale) |
||
| 351 | |||
| 352 | /** |
||
| 353 | * Check if an option exist |
||
| 354 | * |
||
| 355 | * @param \Mage_Eav_Model_Entity_Attribute nt $attribute |
||
| 356 | * @param string $arg_value |
||
| 357 | * |
||
| 358 | * @return bool |
||
| 359 | */ |
||
| 360 | protected function attributeValueExists(&$attribute, $arg_value) |
||
| 374 | } |
Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.